AndroidChromeCustomTabsOptions constructor

AndroidChromeCustomTabsOptions({
  1. @Deprecated('Use shareState instead') bool? addDefaultShareMenuItem,
  2. CustomTabsShareState shareState = CustomTabsShareState.SHARE_STATE_DEFAULT,
  3. bool showTitle = true,
  4. Color? toolbarBackgroundColor,
  5. bool enableUrlBarHiding = false,
  6. bool instantAppsEnabled = false,
  7. String? packageName,
  8. bool keepAliveEnabled = false,
  9. bool isSingleInstance = false,
  10. bool noHistory = false,
  11. bool isTrustedWebActivity = false,
  12. List<String> additionalTrustedOrigins = const [],
  13. TrustedWebActivityDisplayMode? displayMode,
  14. 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,
});