addMenuItems method

void addMenuItems(
  1. List<ChromeSafariBrowserMenuItem> menuItems
)

Adds a list of ChromeSafariBrowserMenuItem to the menu.

NOTE: Not available in an Android Trusted Web Activity.

Officially Supported Platforms/Implementations:

  • Android
  • iOS

Implementation

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