getMaxToolbarItems method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform()])
Future<int> getMaxToolbarItems()

The maximum number of allowed secondary toolbar items.

Officially Supported Platforms/Implementations:

  • Android Chrome Custom Tabs

Use the PlatformChromeSafariBrowser.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform()])
Future<int> getMaxToolbarItems() {
  throw UnimplementedError(
    'getMaxToolbarItems is not implemented on the current platform',
  );
}