setActionButton method

void setActionButton(
  1. ChromeSafariBrowserActionButton actionButton
)

Set a custom action button.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • actionButton: all platforms

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

Implementation

void setActionButton(ChromeSafariBrowserActionButton actionButton) =>
    platform.setActionButton(actionButton);