AndroidChromeCustomTabsOptions class Null safety

This class represents all the Android-only ChromeSafariBrowser options available.

Implemented types

Constructors

AndroidChromeCustomTabsOptions({bool addDefaultShareMenuItem = true, bool showTitle = true, Color? toolbarBackgroundColor, bool enableUrlBarHiding = false, bool instantAppsEnabled = false, String? packageName, bool keepAliveEnabled = false})

Properties

addDefaultShareMenuItem bool
Set to false if you don't want the default share item to the menu. The default value is true.
read / write
enableUrlBarHiding bool
Set to true to enable the url bar to hide as the user scrolls down on the page. The default value is false.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
instantAppsEnabled bool
Set to true to enable Instant Apps. The default value is false.
read / write
keepAliveEnabled bool
Set to true to enable Keep Alive. The default value is false.
read / write
packageName String?
Set an explicit application package name that limits the components this Intent will resolve to. If left to the default value of null, all components in all applications will considered. If non-null, the Intent can only match the components in the given application package.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showTitle bool
Set to false if the title shouldn't be shown in the custom tab. The default value is true.
read / write
toolbarBackgroundColor Color?
Set the custom background color of the toolbar.
read / write

Methods

copy() AndroidChromeCustomTabsOptions
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toMap() Map<String, dynamic>
override
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) AndroidChromeCustomTabsOptions
override