onItemBuilder method
override in subclass
Implementation
List<PopupMenuEntry<T>> onItemBuilder(BuildContext context) {
if (menuItems.isEmpty) {
errorSnackBar();
}
return <PopupMenuEntry<T>>[
...menuItems,
];
}
override in subclass
List<PopupMenuEntry<T>> onItemBuilder(BuildContext context) {
if (menuItems.isEmpty) {
errorSnackBar();
}
return <PopupMenuEntry<T>>[
...menuItems,
];
}