CustomTabsOptions constructor
const
CustomTabsOptions({
- CustomTabsColorScheme colorScheme = CustomTabsColorScheme.system,
- @Deprecated('Use defaultColorSchemeParams.toolbarColor instead') Color? toolbarColor,
- @Deprecated('Use defaultColorSchemeParams.secondaryToolbarColor instead') Color? secondaryToolbarColor,
- CustomTabsColorSchemeParams? lightColorSchemeParams,
- CustomTabsColorSchemeParams? darkColorSchemeParams,
- CustomTabsColorSchemeParams? defaultColorSchemeParams,
- bool instantAppsEnabled = false,
- bool showTitle = false,
- bool urlBarHidingEnabled = false,
Implementation
const CustomTabsOptions({
this.colorScheme = CustomTabsColorScheme.system,
@Deprecated('Use defaultColorSchemeParams.toolbarColor instead')
this.toolbarColor,
@Deprecated('Use defaultColorSchemeParams.secondaryToolbarColor instead')
this.secondaryToolbarColor,
@Deprecated('Use defaultColorSchemeParams.navigationBarColor instead')
this.navigationBarColor,
this.lightColorSchemeParams,
this.darkColorSchemeParams,
this.defaultColorSchemeParams,
this.instantAppsEnabled = false,
@Deprecated('Use shareState instead') this.addDefaultShareMenuItem,
this.shareState,
this.showTitle = false,
this.urlBarHidingEnabled = false,
});