removeMenuItem method

bool removeMenuItem(
  1. InAppBrowserMenuItem menuItem
)

Removes the menuItem from the list. Returns true if it was in the list, false otherwise. If the browser is already open, it will take effect the next time it is opened.

Officially Supported Platforms/Implementations:

  • Android
  • iOS 14.0+

Implementation

bool removeMenuItem(InAppBrowserMenuItem menuItem) {
  throw UnimplementedError(
      'removeMenuItem is not implemented on the current platform');
}