Im using this package https://pub.dev/packages/pluto_menu_bar . I want to know do we have any easy way to add dynamic data and select them on tap, when I had passed static data and its working fine but when larger data coming from the Database its not working
PlutoMenuItem(
title: 'Province',
children: [
PlutoMenuItem.checkbox(
title: 'Sindh',
initialCheckValue: false,
onChanged: (flag) {
flag == true
? provinceSelectedList.add("Sindh")
: provinceSelectedList.remove("Sindh");
},
),]