setMenuItemEnabled abstract method
Sets a menu item's enabled state.
itemId is the identifier of the menu item.
enabled is the new enabled state.
Returns true if the menu item's state was successfully updated.
Implementation
Future<bool> setMenuItemEnabled(String itemId, bool enabled);