CustomTabsOptions class

The comprehensive set of options for launching Custom Tabs by specifying a URL.

See also:

Annotations

Constructors

CustomTabsOptions({CustomTabsColorSchemes? colorSchemes, bool? urlBarHidingEnabled, CustomTabsShareState? shareState, bool? showTitle, bool? instantAppsEnabled, CustomTabsCloseButton? closeButton, CustomTabsAnimations? animations, CustomTabsBrowserConfiguration? browser, PartialCustomTabsConfiguration? partial})
Creates a CustomTabsOptions instance with the specified options.
const
CustomTabsOptions.externalBrowser({required Map<String, String> headers})
Creates a CustomTabsOptions instance with HTTP headers for an external browser.
CustomTabsOptions.partial({required PartialCustomTabsConfiguration configuration, CustomTabsColorSchemes? colorSchemes, CustomTabsShareState? shareState, bool? showTitle, CustomTabsCloseButton? closeButton, CustomTabsBrowserConfiguration? browser})
Creates a CustomTabsOptions instance with configuration for Partial Custom Tabs.
const

Properties

animations CustomTabsAnimations?
The enter and exit animations.
final
browser CustomTabsBrowserConfiguration?
The configuration for the custom tab as browser.
final
closeButton CustomTabsCloseButton?
The close button configuration.
final
colorSchemes CustomTabsColorSchemes?
The visualization configuration.
final
hashCode int
The hash code for this object.
no setterinherited
instantAppsEnabled bool?
A Boolean value that indicates whether to enable Instant Apps for this custom tab.
final
partial PartialCustomTabsConfiguration?
The configuration for Partial Custom Tabs.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shareState CustomTabsShareState?
The share state that should be applied to the custom tab.
final
showTitle bool?
A Boolean value that determines whether to show the page title in the toolbar of the custom tab.
final
urlBarHidingEnabled bool?
A Boolean value that enables the url bar to hide as the user scrolls down the page.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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