setActionButton method

void setActionButton(
  1. ChromeSafariBrowserActionButton actionButton
)

Set a custom action button.

NOTE: Not available in a Trusted Web Activity.

Officially Supported Platforms/Implementations:

Implementation

void setActionButton(ChromeSafariBrowserActionButton actionButton) {
  throw UnimplementedError(
      'setActionButton is not implemented on the current platform');
}