updateActionButton method

Future<void> updateActionButton({
  1. required Uint8List icon,
  2. required String description,
})

Updates the ChromeSafariBrowserActionButton.icon and ChromeSafariBrowserActionButton.description.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • icon: all platforms
  • description: all platforms

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

Implementation

Future<void> updateActionButton({
  required Uint8List icon,
  required String description,
}) => platform.updateActionButton(icon: icon, description: description);