CustomTabsBrowserConfiguration class

The configuration for the custom tab as browser.

By default, Chrome is used as the custom tab browser. However, the default browser for the device can be prioritized over Chrome.

See also:

Annotations

Constructors

CustomTabsBrowserConfiguration({bool? prefersDefaultBrowser, List<String>? fallbackCustomTabs, Map<String, String>? headers})
const
CustomTabsBrowserConfiguration.externalBrowser({required Map<String, String>? headers})
const

Properties

fallbackCustomTabs List<String>?
Package list of non-Chrome browsers supporting Custom Tabs. The top of the list is used with the highest priority.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
Extra HTTP request headers.
final
prefersDefaultBrowser bool?
A Boolean value that determines whether to prioritize the default browser that supports Custom Tabs over Chrome.
final
prefersExternalBrowser bool
final
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
toString() String
A string representation of this object.
inherited

Operators

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