getMaxToolbarItems static method

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

static Future<int> getMaxToolbarItems() =>
    PlatformChromeSafariBrowser.static().getMaxToolbarItems();