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.
NOTE: Not available in an Android Trusted Web Activity.
Supported Platforms/Implementations:
- Android
Constructors
-
ChromeSafariBrowserSecondaryToolbar({required AndroidResource layout, List<
ChromeSafariBrowserSecondaryToolbarClickableID> clickableIDs = const []})
Properties
-
clickableIDs
↔ List<
ChromeSafariBrowserSecondaryToolbarClickableID> -
The IDs of clickable views. The
onClick
event 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> -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited