ChromeSafariBrowserSecondaryToolbar class
Class that represents the RemoteViews that will be shown on the secondary toolbar of a custom tab.
This class describes a view hierarchy that can be displayed in another process. The hierarchy is inflated from an Android layout resource file.
RemoteViews has limited to support to Android layouts. Check the RemoteViews Official API for more details.
Officially Supported Platforms/Implementations:
- Android WebView:
- Not available in an Android Trusted Web Activity.
Constructors
-
ChromeSafariBrowserSecondaryToolbar({List<
ChromeSafariBrowserSecondaryToolbarClickableID> clickableIDs = const [], required AndroidResource layout}) - Officially Supported Platforms/Implementations:
Properties
-
clickableIDs
↔ List<
ChromeSafariBrowserSecondaryToolbarClickableID> -
The IDs of clickable views. The
onClickevent of these views will be handled by custom tabs.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- layout ↔ AndroidResource
-
The android layout resource.
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(
{EnumMethod? enumMethod}) → 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, {EnumMethod? enumMethod}) → ChromeSafariBrowserSecondaryToolbar? - Gets a possible ChromeSafariBrowserSecondaryToolbar instance from a Map value.