addMenuItems method

void addMenuItems(
  1. List<InAppBrowserMenuItem> menuItems
)

Adds a list of InAppBrowserMenuItem to the menu. 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

void addMenuItems(List<InAppBrowserMenuItem> menuItems) {
  throw UnimplementedError(
      'addMenuItems is not implemented on the current platform');
}