AndroidChromeCustomTabsOptions constructor
AndroidChromeCustomTabsOptions({
- bool showTitle = true,
- Color? toolbarBackgroundColor,
- bool enableUrlBarHiding = false,
- bool instantAppsEnabled = false,
- String? packageName,
- bool keepAliveEnabled = false,
- bool isSingleInstance = false,
- bool noHistory = false,
- bool isTrustedWebActivity = false,
- List<
String> additionalTrustedOrigins = const [], - TrustedWebActivityDisplayMode? displayMode,
- TrustedWebActivityScreenOrientation screenOrientation = TrustedWebActivityScreenOrientation.DEFAULT,
Implementation
AndroidChromeCustomTabsOptions(
{@Deprecated('Use shareState instead') this.addDefaultShareMenuItem,
this.shareState = CustomTabsShareState.SHARE_STATE_DEFAULT,
this.showTitle = true,
this.toolbarBackgroundColor,
this.enableUrlBarHiding = false,
this.instantAppsEnabled = false,
this.packageName,
this.keepAliveEnabled = false,
this.isSingleInstance = false,
this.noHistory = false,
this.isTrustedWebActivity = false,
this.additionalTrustedOrigins = const [],
this.displayMode,
this.screenOrientation = TrustedWebActivityScreenOrientation.DEFAULT});