addMenuItem method
void
addMenuItem(
Adds a ChromeSafariBrowserMenuItem to the menu.
NOTE: Not available in an Android Trusted Web Activity.
Officially Supported Platforms/Implementations:
- Android
- iOS
Implementation
void addMenuItem(ChromeSafariBrowserMenuItem menuItem) {
throw UnimplementedError(
'addMenuItem is not implemented on the current platform');
}