updateActionButton method

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

Updates the ChromeSafariBrowserActionButton.icon and ChromeSafariBrowserActionButton.description.

NOTE: Not available in a Trusted Web Activity.

Officially Supported Platforms/Implementations:

Implementation

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