ChromeSafariBrowserActionButton class

Class that represents a custom action button for a ChromeSafariBrowser instance.

NOTE: Not available in an Android Trusted Web Activity.


ChromeSafariBrowserActionButton({required int id, required Uint8List icon, required String description, required void action(String url, String title), bool shouldTint = false})


action → void Function(String url, String title)
Callback function to be invoked when the menu item is clicked
description String
The description for the button. To be used for accessibility.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon Uint8List
The icon byte data.
getter/setter pair
id int
The action button id. It should be different from the
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldTint bool
Whether the action button should be tinted.
getter/setter pair


noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.