FlexSubThemesData constructor
const
FlexSubThemesData({
- bool interactionEffects = true,
- bool tintedDisabledControls = true,
- int? blendOnLevel,
- bool blendOnColors = true,
- bool useFlutterDefaults = false,
- FlexAdaptive? adaptiveRemoveElevationTint,
- FlexAdaptive? adaptiveElevationShadowsBack,
- FlexAdaptive? adaptiveAppBarScrollUnderOff,
- FlexAdaptive? adaptiveRadius,
- FlexAdaptive? adaptiveSplash,
- FlexSplashType? splashType,
- FlexSplashType? splashTypeAdaptive,
- bool blendTextTheme = false,
- bool? useTextTheme,
- bool useM2StyleDividerInM3 = false,
- double? defaultRadius,
- double? defaultRadiusAdaptive,
- Size? buttonMinSize,
- bool? alignedDropdown,
- EdgeInsetsGeometry? buttonPadding,
- double? thickBorderWidth,
- double? thinBorderWidth,
- double? textButtonRadius,
- SchemeColor? textButtonSchemeColor,
- MaterialStateProperty<
TextStyle?> ? textButtonTextStyle, - double? filledButtonRadius,
- SchemeColor? filledButtonSchemeColor,
- MaterialStateProperty<
TextStyle?> ? filledButtonTextStyle, - double? elevatedButtonRadius,
- double? elevatedButtonElevation,
- SchemeColor? elevatedButtonSchemeColor,
- SchemeColor? elevatedButtonSecondarySchemeColor,
- MaterialStateProperty<
TextStyle?> ? elevatedButtonTextStyle, - double? outlinedButtonRadius,
- SchemeColor? outlinedButtonSchemeColor,
- SchemeColor? outlinedButtonOutlineSchemeColor,
- double? outlinedButtonBorderWidth,
- double? outlinedButtonPressedBorderWidth,
- MaterialStateProperty<
TextStyle?> ? outlinedButtonTextStyle, - double? toggleButtonsRadius,
- SchemeColor? toggleButtonsSchemeColor,
- SchemeColor? toggleButtonsUnselectedSchemeColor,
- SchemeColor? toggleButtonsBorderSchemeColor,
- double? toggleButtonsBorderWidth,
- double? segmentedButtonRadius,
- SchemeColor? segmentedButtonSchemeColor,
- SchemeColor? segmentedButtonUnselectedSchemeColor,
- SchemeColor? segmentedButtonUnselectedForegroundSchemeColor,
- SchemeColor? segmentedButtonBorderSchemeColor,
- double? segmentedButtonBorderWidth,
- SchemeColor? materialButtonSchemeColor,
- SchemeColor? switchSchemeColor,
- SchemeColor? switchThumbSchemeColor,
- bool? switchThumbFixedSize,
- SchemeColor? checkboxSchemeColor,
- SchemeColor? radioSchemeColor,
- bool unselectedToggleIsColored = false,
- SchemeColor? sliderBaseSchemeColor,
- SchemeColor? sliderIndicatorSchemeColor,
- bool sliderValueTinted = false,
- FlexSliderIndicatorType? sliderValueIndicatorType,
- ShowValueIndicator? sliderShowValueIndicator,
- double? sliderTrackHeight,
- double? inputDecoratorRadius,
- SchemeColor? inputDecoratorSchemeColor,
- bool inputDecoratorIsFilled = true,
- Color? inputDecoratorFillColor,
- int? inputDecoratorBackgroundAlpha,
- SchemeColor? inputDecoratorBorderSchemeColor,
- FlexInputBorderType? inputDecoratorBorderType,
- bool inputDecoratorFocusedHasBorder = true,
- bool inputDecoratorUnfocusedHasBorder = true,
- bool inputDecoratorUnfocusedBorderIsColored = true,
- double? inputDecoratorBorderWidth,
- double? inputDecoratorFocusedBorderWidth,
- SchemeColor? inputDecoratorPrefixIconSchemeColor,
- SchemeColor? inputCursorSchemeColor,
- SchemeColor? inputSelectionSchemeColor,
- double? inputSelectionOpacity,
- SchemeColor? inputSelectionHandleSchemeColor,
- double? fabRadius,
- bool fabUseShape = false,
- bool fabAlwaysCircular = false,
- SchemeColor? fabSchemeColor,
- double? chipRadius,
- SchemeColor? chipSchemeColor,
- SchemeColor? chipSelectedSchemeColor,
- SchemeColor? chipDeleteIconSchemeColor,
- double? cardRadius,
- double? cardElevation,
- double? popupMenuRadius,
- double? popupMenuElevation,
- SchemeColor? popupMenuSchemeColor,
- double? popupMenuOpacity,
- TextStyle? dropdownMenuTextStyle,
- double? tooltipRadius,
- Duration? tooltipWaitDuration,
- Duration? tooltipShowDuration,
- SchemeColor? tooltipSchemeColor,
- double? tooltipOpacity,
- FlexAdaptive? adaptiveDialogRadius,
- double? dialogRadius,
- double? dialogRadiusAdaptive,
- double? dialogElevation,
- SchemeColor? dialogBackgroundSchemeColor,
- bool? useInputDecoratorThemeInDialogs,
- SchemeColor? datePickerHeaderBackgroundSchemeColor,
- double? datePickerDialogRadius,
- double? timePickerDialogRadius,
- double? timePickerElementRadius,
- double? snackBarRadius,
- double? snackBarElevation,
- SchemeColor? snackBarBackgroundSchemeColor,
- SchemeColor? snackBarActionSchemeColor,
- SchemeColor? appBarBackgroundSchemeColor,
- bool? appBarCenterTitle,
- double? appBarScrolledUnderElevation,
- SchemeColor? bottomAppBarSchemeColor,
- SchemeColor? tabBarItemSchemeColor,
- SchemeColor? tabBarUnselectedItemSchemeColor,
- double? tabBarUnselectedItemOpacity,
- SchemeColor? tabBarIndicatorSchemeColor,
- TabBarIndicatorSize? tabBarIndicatorSize,
- double? tabBarIndicatorWeight,
- double? tabBarIndicatorTopRadius,
- Color? tabBarDividerColor,
- double? drawerRadius,
- double? drawerElevation,
- SchemeColor? drawerBackgroundSchemeColor,
- double? drawerWidth,
- double? drawerIndicatorRadius,
- double? drawerIndicatorWidth,
- SchemeColor? drawerIndicatorSchemeColor,
- double? drawerIndicatorOpacity,
- SchemeColor? drawerSelectedItemSchemeColor,
- SchemeColor? drawerUnselectedItemSchemeColor,
- SchemeColor? bottomSheetBackgroundColor,
- SchemeColor? bottomSheetModalBackgroundColor,
- double? bottomSheetRadius,
- double? bottomSheetElevation,
- double? bottomSheetModalElevation,
Default constructor, used to make an immutable FlexSubThemesData object.
Implementation
const FlexSubThemesData({
this.interactionEffects = true,
this.tintedDisabledControls = true,
this.blendOnLevel,
this.blendOnColors = true,
this.useFlutterDefaults = false,
//
this.adaptiveRemoveElevationTint,
this.adaptiveElevationShadowsBack,
this.adaptiveAppBarScrollUnderOff,
this.adaptiveRadius,
//
this.adaptiveSplash,
this.splashType,
this.splashTypeAdaptive,
//
this.blendTextTheme = false,
this.useTextTheme,
this.useM2StyleDividerInM3 = false,
//
this.defaultRadius,
this.defaultRadiusAdaptive,
//
this.buttonMinSize,
this.alignedDropdown,
this.buttonPadding,
//
this.thickBorderWidth,
this.thinBorderWidth,
//
this.textButtonRadius,
this.textButtonSchemeColor,
this.textButtonTextStyle,
//
this.filledButtonRadius,
this.filledButtonSchemeColor,
this.filledButtonTextStyle,
//
// TODO(rydmike): Hold for https://github.com/flutter/flutter/issues/115827
// this.filledButtonTonalRadius,
// this.filledButtonTonalSchemeColor,
// this.filledButtonTonalTextStyle,
//
this.elevatedButtonRadius,
this.elevatedButtonElevation,
this.elevatedButtonSchemeColor,
this.elevatedButtonSecondarySchemeColor,
this.elevatedButtonTextStyle,
//
this.outlinedButtonRadius,
this.outlinedButtonSchemeColor,
this.outlinedButtonOutlineSchemeColor,
this.outlinedButtonBorderWidth,
this.outlinedButtonPressedBorderWidth,
this.outlinedButtonTextStyle,
//
this.toggleButtonsRadius,
this.toggleButtonsSchemeColor,
this.toggleButtonsUnselectedSchemeColor,
this.toggleButtonsBorderSchemeColor,
this.toggleButtonsBorderWidth,
//
this.segmentedButtonRadius,
this.segmentedButtonSchemeColor,
this.segmentedButtonUnselectedSchemeColor,
this.segmentedButtonUnselectedForegroundSchemeColor,
this.segmentedButtonBorderSchemeColor,
this.segmentedButtonBorderWidth,
//
this.materialButtonSchemeColor,
//
this.switchSchemeColor,
this.switchThumbSchemeColor,
this.switchThumbFixedSize,
this.checkboxSchemeColor,
this.radioSchemeColor,
this.unselectedToggleIsColored = false,
//
this.sliderBaseSchemeColor,
this.sliderIndicatorSchemeColor,
this.sliderValueTinted = false,
this.sliderValueIndicatorType,
this.sliderShowValueIndicator,
this.sliderTrackHeight,
//
this.inputDecoratorRadius,
this.inputDecoratorSchemeColor,
this.inputDecoratorIsFilled = true,
this.inputDecoratorFillColor,
this.inputDecoratorBackgroundAlpha,
this.inputDecoratorBorderSchemeColor,
this.inputDecoratorBorderType,
this.inputDecoratorFocusedHasBorder = true,
this.inputDecoratorUnfocusedHasBorder = true,
this.inputDecoratorUnfocusedBorderIsColored = true,
this.inputDecoratorBorderWidth,
this.inputDecoratorFocusedBorderWidth,
this.inputDecoratorPrefixIconSchemeColor,
//
this.inputCursorSchemeColor,
this.inputSelectionSchemeColor,
this.inputSelectionOpacity,
this.inputSelectionHandleSchemeColor,
//
this.fabRadius,
this.fabUseShape = false,
this.fabAlwaysCircular = false,
this.fabSchemeColor,
//
this.chipRadius,
this.chipSchemeColor,
this.chipSelectedSchemeColor,
this.chipDeleteIconSchemeColor,
//
this.cardRadius,
this.cardElevation,
//
this.popupMenuRadius,
this.popupMenuElevation,
this.popupMenuSchemeColor,
this.popupMenuOpacity,
//
this.dropdownMenuTextStyle,
//
this.menuRadius,
this.menuElevation,
this.menuSchemeColor,
this.menuOpacity,
this.menuPadding,
//
this.menuBarBackgroundSchemeColor,
this.menuBarRadius,
this.menuBarElevation,
this.menuBarShadowColor,
//
this.menuItemBackgroundSchemeColor,
this.menuItemForegroundSchemeColor,
this.menuIndicatorBackgroundSchemeColor,
this.menuIndicatorForegroundSchemeColor,
this.menuIndicatorRadius,
//
this.tooltipRadius,
this.tooltipWaitDuration,
this.tooltipShowDuration,
this.tooltipSchemeColor,
this.tooltipOpacity,
//
this.adaptiveDialogRadius,
this.dialogRadius,
this.dialogRadiusAdaptive,
this.dialogElevation,
this.dialogBackgroundSchemeColor,
this.useInputDecoratorThemeInDialogs,
//
this.datePickerHeaderBackgroundSchemeColor,
this.datePickerDialogRadius,
this.timePickerDialogRadius,
this.timePickerElementRadius,
//
this.snackBarRadius,
this.snackBarElevation,
this.snackBarBackgroundSchemeColor,
this.snackBarActionSchemeColor,
//
this.appBarBackgroundSchemeColor,
this.appBarCenterTitle,
this.appBarScrolledUnderElevation,
//
this.bottomAppBarSchemeColor,
//
this.tabBarItemSchemeColor,
this.tabBarUnselectedItemSchemeColor,
this.tabBarUnselectedItemOpacity,
this.tabBarIndicatorSchemeColor,
this.tabBarIndicatorSize,
this.tabBarIndicatorWeight,
this.tabBarIndicatorTopRadius,
this.tabBarDividerColor,
//
this.drawerRadius,
this.drawerElevation,
this.drawerBackgroundSchemeColor,
this.drawerWidth,
this.drawerIndicatorRadius,
this.drawerIndicatorWidth,
this.drawerIndicatorSchemeColor,
this.drawerIndicatorOpacity,
this.drawerSelectedItemSchemeColor,
this.drawerUnselectedItemSchemeColor,
//
this.bottomSheetBackgroundColor,
this.bottomSheetModalBackgroundColor,
this.bottomSheetRadius,
this.bottomSheetElevation,
this.bottomSheetModalElevation,
//
this.bottomNavigationBarLabelTextStyle,
this.bottomNavigationBarSelectedLabelSize,
this.bottomNavigationBarUnselectedLabelSize,
this.bottomNavigationBarSelectedLabelSchemeColor,
this.bottomNavigationBarUnselectedLabelSchemeColor,
this.bottomNavigationBarMutedUnselectedLabel = true,
this.bottomNavigationBarSelectedIconSize,
this.bottomNavigationBarUnselectedIconSize,
this.bottomNavigationBarSelectedIconSchemeColor,
this.bottomNavigationBarUnselectedIconSchemeColor,
this.bottomNavigationBarMutedUnselectedIcon = true,
this.bottomNavigationBarBackgroundSchemeColor,
this.bottomNavigationBarOpacity,
this.bottomNavigationBarElevation,
this.bottomNavigationBarShowSelectedLabels = true,
this.bottomNavigationBarShowUnselectedLabels = true,
this.bottomNavigationBarType,
this.bottomNavigationBarLandscapeLayout,
//
this.navigationBarLabelTextStyle,
this.navigationBarSelectedLabelSize,
this.navigationBarUnselectedLabelSize,
this.navigationBarSelectedLabelSchemeColor,
this.navigationBarUnselectedLabelSchemeColor,
this.navigationBarMutedUnselectedLabel = true,
this.navigationBarSelectedIconSize,
this.navigationBarUnselectedIconSize,
this.navigationBarSelectedIconSchemeColor,
this.navigationBarUnselectedIconSchemeColor,
this.navigationBarMutedUnselectedIcon = true,
this.navigationBarIndicatorSchemeColor,
this.navigationBarIndicatorOpacity,
this.navigationBarIndicatorRadius,
this.navigationBarBackgroundSchemeColor,
this.navigationBarOpacity,
this.navigationBarElevation,
this.navigationBarHeight,
this.navigationBarLabelBehavior,
this.adaptiveRemoveNavigationBarTint,
//
this.navigationRailLabelTextStyle,
this.navigationRailSelectedLabelSize,
this.navigationRailUnselectedLabelSize,
this.navigationRailSelectedLabelSchemeColor,
this.navigationRailUnselectedLabelSchemeColor,
this.navigationRailMutedUnselectedLabel = true,
this.navigationRailSelectedIconSize,
this.navigationRailUnselectedIconSize,
this.navigationRailSelectedIconSchemeColor,
this.navigationRailUnselectedIconSchemeColor,
this.navigationRailMutedUnselectedIcon = true,
this.navigationRailUseIndicator = true,
this.navigationRailIndicatorSchemeColor,
this.navigationRailIndicatorOpacity,
this.navigationRailIndicatorRadius,
this.navigationRailBackgroundSchemeColor,
this.navigationRailOpacity,
this.navigationRailElevation,
this.navigationRailLabelType,
this.navigationRailGroupAlignment,
});