setActionButton method
- ChromeSafariBrowserActionButton actionButton
Set a custom action button.
Officially Supported Platforms/Implementations:
- Android Chrome Custom Tabs (Official API - CustomTabsSession.setActionButton):
- Not available in a Trusted Web Activity.
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);