ChromeSafariBrowserSecondaryToolbarClickableID class

Class that represents a clickable ID item of the secondary toolbar for a PlatformChromeSafariBrowser instance.

NOTE for Android native WebView: Not available in an Android Trusted Web Activity.

Officially Supported Platforms/Implementations:

  • Android native WebView

Constructors

ChromeSafariBrowserSecondaryToolbarClickableID({required AndroidResource id, void onClick(WebUri?)?})
NOTE for Android native WebView: Not available in an Android Trusted Web Activity.

Properties

hashCode int
The hash code for this object.
no setterinherited
id AndroidResource
The android id resource
getter/setter pair
onClick ↔ (void Function(WebUri?)?)
Callback function to be invoked when the item is clicked
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

fromMap(Map<String, dynamic>? map) ChromeSafariBrowserSecondaryToolbarClickableID?
Gets a possible ChromeSafariBrowserSecondaryToolbarClickableID instance from a Map value.