FlexSubThemesData class
Parameters used by FlexColorScheme to configure its used FlexSubThemes.
To enable the optional component theming feature in FlexColorScheme, pass in at least a default FlexSubThemesData to the FlexColorScheme.subThemesData property. This gives you the default opinionated component theming setup.
The list of properties in the flat configuration class is very large. While it can be a bit tricky to maintain it, using it is easy and a convenient way to adjust commonly used properties on UI component widgets, by using a simple flat list of property values.
No need for deep ShapeBorder definitions for a simple border radius change, nor for the complex WidgetState properties. Well, not as long as the offered config options covers what you need.
A common use case for FlexSubThemes and FlexSubThemesData is easy customization of default border radius on all Flutter SDK Widgets and elements that supports border radius, typically via ShapeBorder but also some via BorderRadiusGeometry. The global border radius used by all widgets can be adjusted by giving defaultRadius the desired radius.
The following widgets have rounded corners, but are excluded from the global border radius impact:
- Tooltip, generally so small that larger prominent rounding is not a good fit.
- Scrollbar, rounding on edges of scrollbars are left to platform default.
- The AppBar and BottomAppBar shape properties are left to defaults.
- The floating SnackBar can be themed to also include border radius, but the none floating one should remain straight. This separation cannot can be done via current flutter theming features. If you use Material 3 this may not be problem since an M3 app is not supposed to use the fixed style SnackBar, so if you only use the floating one, you can modify its border radius. The M3 guide mentions it should never be stadium shaped, so consider keeping the radius modest, e.g. 10 or lower.
- PopupMenuButton, menus in general like DropdownMenu and MenuAnchor, can get a border radius, but not via global default. Values above 10 are not a good idea, but up to 8 still works pretty well.
- The selected item indicators on NavigationBar and NavigationRail are not impacted by global border radius setting, but can be modified via own properties.
- The selected item indicator on NavigationDrawer is large and is thus included in elements impacted by the global border radius setting.
- By default the very distinct FloatingActionButton is not impacted by the global border radius, but there is flag that can be set to include it.
By design the shape border radius rounding on included and supported sub-themes that use shapes, default to the border radius defined by the Material 3 guide per widget, see Material 3 Design guide. This is done also in Material 2 mode. This can give your Material 2 app a more modern look without using the Material 3 mode in Flutter ThemeData. If you want the actual border radius used in Material 2 for a Material 2 using application, set defaultRadius to 4 dp.
Additionally, the sub-theming offers a consistent button design on all buttons, including ToggleButtons that is styled to match size of OutlinedButton concerning the outline and the selected button color to ElevatedButton color. Hover and Focus colors are also matched. It is also size matched with the other buttons, and includes a theme implementation that makes it implement VisualDensity, which it does not do out of the box in the SDK.
On most sub-themes the used default colors from the theme's colorScheme for each component's color properties can be changed with an enum based SchemeColor selection value.
If the options included in FlexColorScheme are not enough, you can always modify any FlexColorScheme produced ThemeData object with ThemeData.copyWith to add custom component sub-theme designs that FlexColorScheme does not include or support directly.
It is not in-scope to provide every option possible via Flutter SDK component sub-themes to be configurable via FlexSubThemesData. Only a sub-set of commonly used properties are available as convenient sub-theme settings via this flat and easy to use configuration class.
Feel free to suggest additional sub-theming features in the repo https://github.com/rydmike/flex_color_scheme/issues as a new feature proposal.
These are the current custom and opinionated component themes available in FlexSubThemes as static theming helpers:
- AppBarTheme for AppBar via FlexSubThemes.appBarTheme.
- BottomAppBarTheme for BottomAppBar via FlexSubThemes.bottomAppBarTheme.
- BottomNavigationBarThemeData for BottomNavigationBar via FlexSubThemes.bottomNavigationBarTheme.
- BottomSheetThemeData for BottomSheet via FlexSubThemes.bottomSheetTheme.
- ButtonThemeData for old deprecated buttons, via FlexSubThemes.buttonTheme.
- CardThemeData for Card via FlexSubThemes.cardTheme.
- CheckboxThemeData for Checkbox via FlexSubThemes.checkboxTheme.
- ChipThemeData for Chip via FlexSubThemes.chipTheme.
- DatePickerThemeData for DatePickerDialog via FlexSubThemes.datePickerTheme
- DialogThemeData for Dialog via FlexSubThemes.dialogTheme.
- DrawerThemeData for Drawer via FlexSubThemes.drawerTheme.
- DropdownMenuThemeData for DropdownMenu via FlexSubThemes.dropdownMenuTheme.
- ElevatedButtonThemeData for ElevatedButton via FlexSubThemes.elevatedButtonTheme.
- FilledButtonThemeData for FilledButton via FlexSubThemes.filledButtonTheme.
- FloatingActionButtonThemeData for FloatingActionButton via FlexSubThemes.floatingActionButtonTheme.
- IconButtonThemeData for IconButton via FlexSubThemes.iconButtonTheme.
- InputDecorationTheme for InputDecoration via FlexSubThemes.inputDecorationTheme.
- MenuBarThemeData for MenuBar via FlexSubThemes.menuBarTheme.
- MenuButtonThemeData for MenuItemButton and SubmenuButton via FlexSubThemes.menuButtonTheme.
- MenuThemeData for MenuBar, MenuAnchor and DropdownMenu via FlexSubThemes.menuTheme.
- ListTileThemeData for ListTile via FlexSubThemes.listTileTheme.
- NavigationBarThemeData for NavigationBar via FlexSubThemes.navigationBarTheme.
- NavigationDrawerThemeData for NavigationDrawer via FlexSubThemes.navigationDrawerTheme.
- NavigationRailThemeData for NavigationRail via FlexSubThemes.navigationRailTheme.
- OutlinedButtonThemeData for OutlinedButton via FlexSubThemes.outlinedButtonTheme.
- PopupMenuThemeData for PopupMenuButton via FlexSubThemes.popupMenuTheme.
- RadioThemeData for Radio via FlexSubThemes.radioTheme.
- SliderThemeData for Slider via FlexSubThemes.sliderTheme.
- SnackBarThemeData for SnackBar via FlexSubThemes.snackBarTheme.
- SwitchThemeData for Switch via FlexSubThemes.switchTheme.
- TabBarThemeData for TabBar via FlexSubThemes.tabBarTheme.
- TextButtonThemeData for TextButton via FlexSubThemes.textButtonTheme.
- TextSelectionThemeData for TextField via FlexSubThemes.textSelectionTheme.
- TimePickerThemeData for TimePickerDialog via FlexSubThemes.timePickerTheme.
- ToggleButtonsThemeData for ToggleButtons via FlexSubThemes.toggleButtonsTheme.
- TooltipThemeData for Tooltip via FlexSubThemes.tooltipTheme.
FlexColorScheme uses the FlexSubThemesData class to configure the opt-in sub-themes, based on the setup information provided via FlexColorScheme.subThemesData by passing properties defined in it to the above helpers that are then used to define the component sub-themes for the produced ThemeData.
- Mixed-in types
- Annotations
Constructors
-
FlexSubThemesData.new({bool interactionEffects = false, bool tintedDisabledControls = false, int? blendOnLevel, bool blendOnColors = false, FlexAdaptive? adaptiveRemoveElevationTint, FlexAdaptive? adaptiveElevationShadowsBack, FlexAdaptive? adaptiveAppBarScrollUnderOff, FlexAdaptive? adaptiveRadius, FlexAdaptive? adaptiveDialogRadius, FlexAdaptive? adaptiveInputDecoratorRadius, FlexAdaptive? adaptiveSplash, FlexSplashType? splashType, FlexSplashType? splashTypeAdaptive, bool? useMaterial3Typography, bool useM2StyleDividerInM3 = false, double? defaultRadius, double? defaultRadiusAdaptive, Size? buttonMinSize, bool? alignedDropdown, EdgeInsetsGeometry? buttonPadding, double? thickBorderWidth, double? thinBorderWidth, double? textButtonRadius, SchemeColor? textButtonSchemeColor, WidgetStateProperty<
TextStyle?> ? textButtonTextStyle, double? filledButtonRadius, SchemeColor? filledButtonSchemeColor, WidgetStateProperty<TextStyle?> ? filledButtonTextStyle, double? elevatedButtonRadius, double? elevatedButtonElevation, SchemeColor? elevatedButtonSchemeColor, SchemeColor? elevatedButtonSecondarySchemeColor, WidgetStateProperty<TextStyle?> ? elevatedButtonTextStyle, double? outlinedButtonRadius, SchemeColor? outlinedButtonSchemeColor, SchemeColor? outlinedButtonOutlineSchemeColor, double? outlinedButtonBorderWidth, double? outlinedButtonPressedBorderWidth, WidgetStateProperty<TextStyle?> ? outlinedButtonTextStyle, double? toggleButtonsRadius, SchemeColor? toggleButtonsSchemeColor, SchemeColor? toggleButtonsSelectedForegroundSchemeColor, SchemeColor? toggleButtonsUnselectedSchemeColor, SchemeColor? toggleButtonsBorderSchemeColor, double? toggleButtonsBorderWidth, TextStyle? toggleButtonsTextStyle, double? segmentedButtonRadius, SchemeColor? segmentedButtonSchemeColor, SchemeColor? segmentedButtonSelectedForegroundSchemeColor, SchemeColor? segmentedButtonUnselectedSchemeColor, SchemeColor? segmentedButtonUnselectedForegroundSchemeColor, SchemeColor? segmentedButtonBorderSchemeColor, double? segmentedButtonBorderWidth, WidgetStateProperty<TextStyle?> ? segmentedButtonTextStyle, FlexScaffoldBaseColor? scaffoldBackgroundBaseColor, SchemeColor? scaffoldBackgroundSchemeColor, SchemeColor? materialButtonSchemeColor, SchemeColor? switchSchemeColor, SchemeColor? switchThumbSchemeColor, bool? switchThumbFixedSize, FlexAdaptive? switchAdaptiveCupertinoLike, SchemeColor? checkboxSchemeColor, SchemeColor? radioSchemeColor, bool unselectedToggleIsColored = false, SchemeColor? sliderBaseSchemeColor, SchemeColor? sliderThumbSchemeColor, SchemeColor? sliderIndicatorSchemeColor, bool sliderValueTinted = false, FlexSliderIndicatorType? sliderValueIndicatorType, ShowValueIndicator? sliderShowValueIndicator, double? sliderTrackHeight, double? inputDecoratorRadius, double? inputDecoratorRadiusAdaptive, SchemeColor? inputDecoratorSchemeColor, EdgeInsetsGeometry? inputDecoratorContentPadding, bool? inputDecoratorIsDense, bool? inputDecoratorIsFilled, Color? inputDecoratorFillColor, int? inputDecoratorBackgroundAlpha, SchemeColor? inputDecoratorBorderSchemeColor, FlexInputBorderType? inputDecoratorBorderType, bool inputDecoratorFocusedHasBorder = true, bool inputDecoratorUnfocusedHasBorder = true, bool? inputDecoratorUnfocusedBorderIsColored, double? inputDecoratorBorderWidth, double? inputDecoratorFocusedBorderWidth, SchemeColor? inputDecoratorPrefixIconSchemeColor, SchemeColor? inputDecoratorSuffixIconSchemeColor, SchemeColor? inputCursorSchemeColor, SchemeColor? inputSelectionSchemeColor, double? inputSelectionOpacity, SchemeColor? inputSelectionHandleSchemeColor, SchemeColor? listTileSelectedSchemeColor, SchemeColor? listTileIconSchemeColor, SchemeColor? listTileTextSchemeColor, TextStyle? listTileTitleTextStyle, TextStyle? listTileSubtitleTextStyle, TextStyle? listTileLeadingAndTrailingTextStyle, SchemeColor? listTileTileSchemeColor, SchemeColor? listTileSelectedTileSchemeColor, EdgeInsetsGeometry? listTileContentPadding, double? listTileHorizontalTitleGap, double? listTileMinVerticalPadding, ListTileStyle? listTileStyle, ListTileTitleAlignment? listTileTitleAlignment, ListTileControlAffinity? listTileControlAffinity, double? fabRadius, bool fabUseShape = false, bool fabAlwaysCircular = false, SchemeColor? fabSchemeColor, SchemeColor? fabForegroundSchemeColor, TextStyle? fabExtendedTextStyle, double? chipRadius, bool? chipBlendColors, SchemeColor? chipSchemeColor, SchemeColor? chipSelectedSchemeColor, SchemeColor? chipSecondarySelectedSchemeColor, SchemeColor? chipDeleteIconSchemeColor, TextStyle? chipLabelStyle, TextStyle? chipSecondaryLabelStyle, double? chipFontSize, double? chipSecondaryFontSize, double? chipIconSize, EdgeInsetsGeometry? chipPadding, double? cardRadius, double? cardElevation, double? popupMenuRadius, double? popupMenuElevation, SchemeColor? popupMenuSchemeColor, double? popupMenuOpacity, TextStyle? dropdownMenuTextStyle, SchemeColor? searchBarBackgroundSchemeColor, SchemeColor? searchViewBackgroundSchemeColor, double? searchBarElevation, double? searchViewElevation, double? searchBarRadius, double? searchViewRadius, bool searchUseGlobalShape = false, double? searchViewHeaderHeight, WidgetStateProperty<TextStyle?> ? searchBarTextStyle, TextStyle? searchViewHeaderTextStyle, WidgetStateProperty<TextStyle?> ? searchBarHintStyle, TextStyle? searchViewHeaderHintStyle, Color? searchViewDividerColor, Color? searchBarShadowColor, TextCapitalization? searchBarTextCapitalization, EdgeInsetsGeometry? searchBarPadding, BoxConstraints? searchBarConstraints, BoxConstraints? searchViewConstraints, double? tooltipRadius, Duration? tooltipWaitDuration, Duration? tooltipShowDuration, SchemeColor? tooltipSchemeColor, double? tooltipOpacity, bool? useInputDecoratorThemeInDialogs, double? dialogRadius, double? dialogRadiusAdaptive, double? dialogElevation, SchemeColor? dialogBackgroundSchemeColor, TextStyle? dialogTitleTextStyle, TextStyle? dialogContentTextStyle, SchemeColor? datePickerHeaderBackgroundSchemeColor, SchemeColor? datePickerHeaderForegroundSchemeColor, double? datePickerDialogRadius, SchemeColor? datePickerDividerSchemeColor, TextStyle? datePickerHeaderHeadlineStyle, TextStyle? datePickerHeaderHelpStyle, TextStyle? datePickerWeekdayStyle, TextStyle? datePickerDayStyle, TextStyle? datePickerYearStyle, TextStyle? datePickerRangePickerHeaderHeadlineStyle, TextStyle? datePickerRangePickerHeaderHelpStyle, double? timePickerDialogRadius, double? timePickerElementRadius, TextStyle? timePickerDayPeriodTextStyle, TextStyle? timePickerDialTextStyle, TextStyle? timePickerHelpTextStyle, TextStyle? timePickerHourMinuteTextStyle, double? snackBarRadius, double? snackBarElevation, SchemeColor? snackBarBackgroundSchemeColor, SchemeColor? snackBarActionSchemeColor, TextStyle? snackBarContentTextStyle, SchemeColor? appBarBackgroundSchemeColor, SchemeColor? appBarForegroundSchemeColor, SchemeColor? appBarIconSchemeColor, SchemeColor? appBarActionsIconSchemeColor, bool? appBarCenterTitle, double? appBarScrolledUnderElevation, TextStyle? appBarToolbarTextStyle, TextStyle? appBarTitleTextStyle, SchemeColor? bottomAppBarSchemeColor, double? bottomAppBarHeight, SchemeColor? tabBarItemSchemeColor, SchemeColor? tabBarUnselectedItemSchemeColor, double? tabBarUnselectedItemOpacity, SchemeColor? tabBarIndicatorSchemeColor, TabBarIndicatorSize? tabBarIndicatorSize, double? tabBarIndicatorWeight, double? tabBarIndicatorTopRadius, Color? tabBarDividerColor, TabAlignment? tabBarTabAlignment, TabIndicatorAnimation? tabBarIndicatorAnimation, 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, Clip? bottomSheetClipBehavior, @Deprecated('This property has been replaced by the more aptly named ' 'useMaterial3Typography property and no longer has any function ' 'in V8 and will be removed in v9.0.0.') bool? useTextTheme, @Deprecated('The `useFlutterDefaults` is deprecated, it no longer has any ' 'function and will be removed in v9. FlexColorScheme in M3 mode ' 'defaults to using mostly Flutter defaults styles. ' 'For other configurations modify the theme as desired. ' 'In M2 mode FCS will continue to use its own opinionated defaults for ' 'as long as M2 exists.') bool? useFlutterDefaults, @Deprecated('The `blendTextTheme` is deprecated, it no longer has any ' 'function and will be removed in v9. More info below.\n' '\n' 'The `blendTextTheme` feature was originally ' "made before Material-3's TextTheme was available, before it was fully " 'known how it was going to be implemented. It was an approximation of ' 'the TextStyles that could be seen in early versions of Material-3 ' 'images. Since the actual Material-3 TextTheme is available, the tinted ' 'TextTheme feature is no longer needed. While the FCS tinted TextTheme ' 'did provide an alternative version of the actual tint used in ' 'Material-3, but the differences were quite subtle. Additionally, ' 'recent changes in Flutter make using it very verbose and complicated. ' 'Why it does so, is explained below.\n' '\n' 'In Material-3 Typography 2021, the TextTheme and all styles in it are ' 'fully opaque and use onSurface as color on all TextStyles. ' 'In a seed generated ColorScheme, the text becomes primary tinted, ' 'because the onSurface color by default has subtle primary tint. ' 'With FCS you can modify the onSurface to black or white to avoid this, ' 'if so preferred.\n' '\n' 'In Material-2 Typography 2018 and 2014, some TextStyles ' 'in their TextThemes use partially transparent white or ' 'black colors, making them appear tinted ' 'when placed on lightly colored backgrounds. Such TextStyles also ' 'have lower contrast. If the Material-3 default text theme is ' 'used on background colors that are tinted with a color that ' 'deviates a lot in hue from the hue used as tint color by the TextTheme, ' 'it may not fit it so well. The Material-2 opacity-based text styles ' 'do not have this limitation. It is unknown why Material-3 switched to ' 'a fixed tint color instead of using the opacity-based approach ' 'used in Material-2, that is more universally ' 'usable on backgrounds with different tint colors.\n' '\n' 'In Material-3, some component themes override the default color the of ' 'the default TextTheme TextStyles they use with onSurfaceVariant. ' 'This color has slightly more tint and lower contrast than onSurface. ' 'This is used for elements that should have less emphasis. Many default ' 'Material-3 components also override the color in default TextTheme ' 'TextStyles ' 'they use with onSurface color, that it actually already has in a ' 'default TextTheme. These two overrides causes whatever ' 'color the default TextTheme TextStyles have, to be overridden by ' 'these ColorScheme colors. Resulting in that any custom colored ' 'TextTheme is not getting used by such Material-3 components and that ' 'the custom colors from the meticulously colored custom TextTheme, ' 'are rarely visible anywhere in a Material-3 application. Material-2 ' 'component themes do not do this, nor did older Flutter versions of ' 'Material-3 component themes do this.\n' '\n' 'An issue has been raised explaining the challenges this newer approach ' 'in Flutter causes when using custom colored text themes. If this ' 'issue is addressed, the tinted TextTheme feature in FCS may ' 'be brought back, if it is a requested feature.\n' '\n' 'In current Flutter versions, using a custom tinted TextTheme is ' 'rather pointless. You can do it, but is not enough to just define the ' 'TextTheme. You also have to pass each tinted TextStyle it has to the ' 'appropriate TextStyles in ALL component themes that override its ' 'colors, for it to have any effect. It is typically not ' 'worth the effort.\n') bool blendTextTheme = false}) -
Default constructor, used to make an immutable FlexSubThemesData object.
const
Properties
- adaptiveAppBarScrollUnderOff → FlexAdaptive?
-
Controls if the AppBar scroll under elevation tint feature is used
in Material 3 theming on the AppBar.
final
- adaptiveDialogRadius → FlexAdaptive?
-
Controls if the dialogRadiusAdaptive is used instead of dialogRadius
on configured platforms.
final
- adaptiveElevationShadowsBack → FlexAdaptive?
-
Controls shadow usage on elevated surfaces in Material 3 theming.
final
- adaptiveInputDecoratorRadius → FlexAdaptive?
-
Controls if the inputDecoratorRadiusAdaptive is used instead of
inputDecoratorRadius on configured platforms.
final
- adaptiveRadius → FlexAdaptive?
-
Controls if the defaultRadiusAdaptive is used instead of defaultRadius
on configured platforms.
final
- adaptiveRemoveElevationTint → FlexAdaptive?
-
Controls adaptive elevation tint color usage in Material 3 theming.
final
-
Controls adaptive elevation tint color usage on the NavigationBar.
final
- adaptiveSplash → FlexAdaptive?
-
Controls if the splashTypeAdaptive is used instead of splashType
on configured platforms.
final
- alignedDropdown → bool?
-
If true, then a DropdownButton and DropdownButtonFormField menu's
width will match the button's width.
final
- appBarActionsIconSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the AppBar
actions icons use as foreground color. The AppBar actions icons are the
ones on the end side of the AppBar.
final
- appBarBackgroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the AppBar
background uses.
final
- appBarCenterTitle → bool?
-
Whether the AppBar title should be centered.
final
- appBarForegroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the AppBar
foreground uses.
final
- appBarIconSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the AppBar
main icon uses as foreground color. The AppBar main icon is the one on
the start side of the AppBar.
final
- appBarScrolledUnderElevation → double?
-
The elevation that will be used if this app bar has something
scrolled underneath it.
final
- appBarTitleTextStyle → TextStyle?
-
Overrides the default value of AppBar.titleTextStyle
property in all descendant AppBar widgets.
final
- appBarToolbarTextStyle → TextStyle?
-
Overrides the default value of the AppBar.toolbarTextStyle
property in all descendant AppBar widgets.
final
- blendOnColors → bool
-
Set to true to enable blendOnLevel based onColor blending also on
resulting ColorScheme.onPrimary, ColorScheme.onSecondary and
ColorScheme.onTertiary colors.
final
- blendOnLevel → int?
-
Sets the blend level strength of container color used on its onColor.
final
- blendTextTheme → bool
-
Use selection
surfaceMode
andblendLevel
in FlexColorScheme.light and FlexColorScheme.dark to also blend primary color into text themes for both ThemeData.textTheme and ThemeData.primaryTextTheme.final - bottomAppBarHeight → double?
-
The double value used to indicate the height of the BottomAppBar.
final
- bottomAppBarSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the BottomAppBar
uses as background color.
final
-
Select which color from the theme's ColorScheme to use as background
color for the BottomNavigationBar.
final
-
Elevation of BottomNavigationBar.
final
-
Optional text style for the BottomNavigationBar labels.
final
-
The arrangement of the BottomNavigationBar.items when the enclosing
MediaQueryData.orientation is Orientation.landscape.
final
-
If true, the unselected icon in the BottomNavigationBar use a more muted
color version of the color defined by
bottomNavigationBarUnselectedIconSchemeColor.
final
-
If true, the unselected label in the BottomNavigationBar use a more
muted color version of the color defined by
bottomNavigationBarUnselectedLabelSchemeColor.
final
-
BottomNavigationBar background opacity.
final
-
Select which color from the theme's ColorScheme to use for
the BottomNavigationBar's selected item icon color.
final
-
The size of the icon on selected BottomNavigationBar item.
final
-
Select which color from the theme's ColorScheme to use for
the BottomNavigationBar's selected label text color.
final
-
The size of the text label on selected BottomNavigationBar item.
final
-
Whether the labels are shown for the selected
BottomNavigationBarItem.
final
-
Whether the labels are shown for the unselected
BottomNavigationBarItems.
final
-
Defines the layout and behavior of a BottomNavigationBar.
final
-
Select which color from the passed in ColorScheme to use for
the BottomNavigationBar's unselected items icon color.
final
-
The size of the icon on unselected BottomNavigationBar items.
final
-
Select which color from the theme's ColorScheme to use for
the BottomNavigationBar's unselected label text color.
final
-
The size of the text label on unselected BottomNavigationBar items.
final
- bottomSheetBackgroundColor → SchemeColor?
-
Defines which Theme based ColorScheme based color that the
BottomSheet uses as background color when presented as a none modal
bottom sheet.
final
- bottomSheetClipBehavior → Clip?
-
Defines the bottom sheet's Material.clipBehavior
by overriding the default value for BottomSheet.clipBehavior.
final
- bottomSheetElevation → double?
-
Elevation of none modal BottomSheet.
final
- bottomSheetModalBackgroundColor → SchemeColor?
-
Defines which Theme based ColorScheme based color that the
BottomSheet uses as background color when presented as a modal
bottom sheet.
final
- bottomSheetModalElevation → double?
-
Elevation of modal BottomSheet.
final
- bottomSheetRadius → double?
-
Border radius value for BottomSheet.
final
-
Minimum button size for all buttons.
final
-
Padding on TextButton, ElevatedButton and OutlinedButton.
final
- cardElevation → double?
-
Elevation of Card.
final
- cardRadius → double?
-
Border radius value for Card.
final
- checkboxSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
Checkbox and CheckboxListTile use as base themed color.
final
- chipBlendColors → bool?
-
Defines if the chipSelectedSchemeColor and chipSelectedSchemeColor
are alpha blended with the surface color.
final
- chipDeleteIconSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the Chips
use as color of the delete icon.
final
- chipFontSize → double?
-
Chip font size of the chipLabelStyle.
final
- chipIconSize → double?
-
Icon size used by the IconTheme used by Chips.
final
- chipLabelStyle → TextStyle?
-
Overrides the default for ChipAttributes.labelStyle,
the style of the DefaultTextStyle that contains the
chip's label.
final
- chipPadding → EdgeInsetsGeometry?
-
Overrides the default for ChipAttributes.padding,
the padding between the contents of the chip and the chip edge.
final
- chipRadius → double?
-
Border radius value for Chip widgets.
final
- chipSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the Chips
use as their background base color.
final
- chipSecondaryFontSize → double?
-
Chip font size of the chipSecondaryFontSize.
final
- chipSecondaryLabelStyle → TextStyle?
-
Overrides the default for ChoiceChip.labelStyle,
the style of the DefaultTextStyle that contains the
chip's label.
final
- chipSecondarySelectedSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the selected
ChoiceChip use as their selected state color.
final
- chipSelectedSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the selected Chips
use as their selected state color.
final
- datePickerDayStyle → TextStyle?
-
Overrides the default text style used for each individual day
label in the grid of the date picker.
final
- datePickerDialogRadius → double?
-
Border radius value for DatePickerDialog.
final
- datePickerDividerSchemeColor → SchemeColor?
-
The color of the divider in the DatePickerDialog.
final
- datePickerHeaderBackgroundSchemeColor → SchemeColor?
-
The background color of the header in a DatePickerDialog.
final
- datePickerHeaderForegroundSchemeColor → SchemeColor?
-
Defines the foreground color of the header in a DatePickerDialog,
used for text labels and icons.
final
- datePickerHeaderHeadlineStyle → TextStyle?
-
Overrides the date picker header's default headline text style.
final
- datePickerHeaderHelpStyle → TextStyle?
-
Overrides the date picker header's default help text style.
final
- datePickerRangePickerHeaderHeadlineStyle → TextStyle?
-
Overrides the default text style used for the headline text in
the header of a full screen DateRangePickerDialog.
final
- datePickerRangePickerHeaderHelpStyle → TextStyle?
-
Overrides the default text style used for the help text of the
header of a full screen DateRangePickerDialog.
final
- datePickerWeekdayStyle → TextStyle?
-
Overrides the default text style used for the row of weekday
labels at the top of the date picker grid.
final
- datePickerYearStyle → TextStyle?
-
Overrides the default text style used to paint each of the year
entries in the year selector of the date picker.
final
- defaultRadius → double?
-
Border radius used on all widgets when FlexColorScheme use its
FlexSubThemesData to configure sub-themes with FlexSubThemes.
final
- defaultRadiusAdaptive → double?
-
The defaultRadiusAdaptive has the same definition and usage
defaultRadius, but is used as default radius on platforms as configured
by adaptiveRadius.
final
- dialogBackgroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme color, dialogs use as
their background color.
final
- dialogContentTextStyle → TextStyle?
-
Overrides the default value for DefaultTextStyle for
SimpleDialog.children and AlertDialog.content.
final
- dialogElevation → double?
-
Elevation of Dialog.
final
- dialogRadius → double?
-
Border radius value for Dialog.
final
- dialogRadiusAdaptive → double?
-
The dialogRadiusAdaptive has the same definition and usage
dialogRadius, but is used as default radius on platforms as configured
by adaptiveDialogRadius.
final
- dialogTitleTextStyle → TextStyle?
-
Overrides the default value for DefaultTextStyle for
SimpleDialog.title and AlertDialog.title.
final
- drawerBackgroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color Drawer uses as
as its background color.
final
- drawerElevation → double?
-
Elevation of Drawer and NavigationDrawer.
final
- drawerIndicatorOpacity → double?
-
Defines the opacity used on the
NavigationDrawer
's indicator color.final - drawerIndicatorRadius → double?
-
Border radius of the selection indicator on the NavigationDrawer.
final
- drawerIndicatorSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color NavigationDrawer
uses as as its background color on the selection indicator.
final
- drawerIndicatorWidth → double?
-
Defines the width of NavigationDrawer's indicator.
final
- drawerRadius → double?
-
Border radius value for Drawer, also used by NavigationDrawer.
final
- drawerSelectedItemSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color NavigationDrawer
uses as as its selected item color.
final
- drawerUnselectedItemSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color NavigationDrawer
uses as as its unselected item color.
final
- drawerWidth → double?
-
Defines the width of Drawer and NavigationDrawer.
final
- dropdownMenuTextStyle → TextStyle?
-
The TextStyle of the text entry in a DropdownMenu.
final
- elevatedButtonElevation → double?
-
Elevation of ElevatedButton.
final
- elevatedButtonRadius → double?
-
Border radius value for ElevatedButton.
final
- elevatedButtonSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color, that the
ElevatedButton used as its main color.
final
- elevatedButtonSecondarySchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color, that the
ElevatedButton uses as its secondary color.
final
-
elevatedButtonTextStyle
→ WidgetStateProperty<
TextStyle?> ? -
The style for the ElevatedButton's Text widget descendants.
final
- fabAlwaysCircular → bool
-
Always use circular Shape on Floating Actions Button.
final
- fabExtendedTextStyle → TextStyle?
-
The text style for an extended FloatingActionButton's label.
final
- fabForegroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the Floating
Action Button (FABs) uses as its foreground color.
final
- fabRadius → double?
-
Border radius value for FloatingActionButton.
final
- fabSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the Floating
Action Button (FABs) use as its background color.
final
- fabUseShape → bool
-
Use shape theming on Floating Action Button (FAB).
final
- filledButtonRadius → double?
-
Border radius override value for FilledButton.
final
- filledButtonSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
FilledButton use as its base theme color.
final
-
filledButtonTextStyle
→ WidgetStateProperty<
TextStyle?> ? -
The style for the FilledButton's Text widget descendants.
final
- hashCode → int
-
Override for hashcode, dart.ui Jenkins based.
no setteroverride
- inputCursorSchemeColor → SchemeColor?
-
The SchemeColor based color of the cursor in the text field.
final
- inputDecoratorBackgroundAlpha → int?
-
Defines the alpha, opacity channel value used as opacity on effective
InputDecorator background color.
final
- inputDecoratorBorderSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme color the input decorator
uses as color for the border color when it is defined to be used.
final
- inputDecoratorBorderType → FlexInputBorderType?
-
Determines the type of border InputDecorator uses.
final
- inputDecoratorBorderWidth → double?
-
The border width of unfocused InputDecoration when it has a border.
final
- inputDecoratorContentPadding → EdgeInsetsGeometry?
-
The padding for the input decoration's container.
final
- inputDecoratorFillColor → Color?
-
Determines the color of the filled InputDecorator.
final
- inputDecoratorFocusedBorderWidth → double?
-
The border width of focused InputDecoration when it has a border.
final
- inputDecoratorFocusedHasBorder → bool
-
Determines if the InputDecorator focused state has a border.
final
- inputDecoratorIsDense → bool?
-
Whether the input decorator's child is part of a dense form (i.e., uses
less vertical space).
final
- inputDecoratorIsFilled → bool?
-
Determines if the InputDecorator is filled with a color.
final
- inputDecoratorPrefixIconSchemeColor → SchemeColor?
-
The icon color of the prefixIcon in a focused InputDecoration.
final
- inputDecoratorRadius → double?
-
The border radius value for themed InputDecoration.
final
- inputDecoratorRadiusAdaptive → double?
-
The inputDecoratorRadiusAdaptive has the same definition and usage as
inputDecoratorRadius, but is used as decorator radius on platforms
as configured by adaptiveInputDecoratorRadius.
final
- inputDecoratorSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme color the input decorator
uses as color for the border and for fill color when they are used.
final
- inputDecoratorSuffixIconSchemeColor → SchemeColor?
-
The icon color of the suffixIcon in a focused InputDecoration.
final
- inputDecoratorUnfocusedBorderIsColored → bool?
-
Determines if the InputDecorator unfocused state has a colored border.
final
- inputDecoratorUnfocusedHasBorder → bool
-
Determines if the InputDecorator unfocused state has a border.
final
- inputSelectionHandleSchemeColor → SchemeColor?
-
The SchemeColor based color of the selection handles on the
text field.
final
- inputSelectionOpacity → double?
-
The opacity applied to inputSelectionSchemeColor.
final
- inputSelectionSchemeColor → SchemeColor?
-
The SchemeColor based background color of selected text.
final
- interactionEffects → bool
-
Flag used to enable color tinted hover, focus, highlight, selected,
pressed and splash interaction state effects.
final
- listTileContentPadding → EdgeInsetsGeometry?
-
The ListTile's title internal padding.
final
- listTileControlAffinity → ListTileControlAffinity?
-
If specified, overrides the default value of
CheckboxListTile.controlAffinity or ExpansionTile.controlAffinity
or SwitchListTile.controlAffinity or RadioListTile.controlAffinity.
final
- listTileHorizontalTitleGap → double?
-
The horizontal gap between the ListTile titles and the leading/trailing
widgets.
final
- listTileIconSchemeColor → SchemeColor?
-
Defines the default color for ListTile.leading and
ListTile.trailing icons.
final
- listTileLeadingAndTrailingTextStyle → TextStyle?
-
The text style for ListTile's ListTile.leading and ListTile.trailing.
final
- listTileMinVerticalPadding → double?
-
The minimum padding on the top and bottom of the ListTile.title and
ListTile.subtitle widgets on the ListTile.
final
- listTileSelectedSchemeColor → SchemeColor?
-
Defines the color used for icons and text when the ListTile is
selected.
final
- listTileSelectedTileSchemeColor → SchemeColor?
-
Defines the background color of ListTile when
ListTile.selected is true.
final
- listTileStyle → ListTileStyle?
-
Defines the font used for the ListTile.title.
final
- listTileSubtitleTextStyle → TextStyle?
-
The text style for ListTile's ListTile.subtitle.
final
- listTileTextSchemeColor → SchemeColor?
-
Defines the text color for the ListTile.title, ListTile.subtitle,
ListTile.leading and ListTile.trailing widgets when they are Text.
final
- listTileTileSchemeColor → SchemeColor?
-
Defines the background color of ListTile when
ListTile.selected is false.
final
- listTileTitleAlignment → ListTileTitleAlignment?
-
Defines how ListTile.leading and ListTile.trailing are
vertically aligned relative to the ListTile's titles
(ListTile.title and ListTile.subtitle).
final
- listTileTitleTextStyle → TextStyle?
-
The text style for ListTile's ListTile.title.
final
- materialButtonSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color, that the old
MaterialButton use as its main theme color.
final
-
Select which color from active ColorScheme to use as background color
for the MenuBar.
final
-
The elevation of the MenuBar container.
final
-
The border radius of the MenuBar container.
final
-
The shadow color of the MenuBar container.
final
-
The style for a menu button's Text widget descendants.
final
-
The elevation of MenuBar, MenuAnchor and DropdownMenu containers.
final
-
Select which color from the active ColorScheme to use as
the highlighted SubmenuButtons and MenuItemButtons indicator
background color.
final
-
Select which color from active ColorScheme use as
the highlighted SubmenuButtons and MenuItemButtons indicator
foreground color.
final
-
The themed corner border radius of SubmenuButtons and MenuItemButtons.
final
-
Select which color from active ColorScheme to use as
SubmenuButtons and MenuItemButtons background color for
unselected, not hovered, menu items.
final
-
Select which color from active ColorScheme to use as SubmenuButtons
and MenuItemButtons foreground color.
final
-
Menu background opacity.
final
-
The padding between the menu's boundary and its child.
final
-
The border radius of MenuBar, MenuAnchor and DropdownMenu
containers.
final
-
The ColorScheme based color used as background color on MenuBar,
MenuAnchor and DropdownMenu.
final
-
Select which color from the theme's ColorScheme to use as background
color for the NavigationBar.
final
-
The z-coordinate to be used for the NavigationBar's elevation.
final
-
Height of the container for the Material 3 NavigationBar.
final
-
Opacity used on the NavigationBar indicator.
final
-
Border radius of the selection indicator on the NavigationBar.
final
-
Select which color from the theme ColorScheme to use for
the NavigationBar's selected item indicator.
final
-
Specifies when each NavigationDestination's label should appear.
final
-
Optional text style for the NavigationBar labels.
final
-
If true, the unselected icon in the NavigationBar use a more muted
color version of the color defined by
navigationBarUnselectedIconSchemeColor.
final
-
If true, the unselected label in the NavigationBar use a more
muted color version of the color defined by
navigationBarUnselectedLabelSchemeColor.
final
-
NavigationBar background opacity.
final
-
Select which color from the theme's ColorScheme to use for
the NavigationBar's selected item icon color.
final
-
The size of the icon on selected NavigationBar item.
final
-
Select which color from the passed in ColorScheme to use for
the NavigationBar's label text color.
final
-
The size of the text label on selected NavigationBar item.
final
-
Select which color from the theme's ColorScheme to use for
the NavigationBar's unselected item icon color.
final
-
The size of the icon on unselected NavigationBar items.
final
-
Select which color from the theme's ColorScheme to use for
the NavigationBar's unselected label text color.
final
-
The size of the text label on unselected NavigationBar items.
final
-
Select which color from the theme's ColorScheme to use as background
color for the NavigationRail.
final
-
The z-coordinate to be used for the NavigationRail's elevation.
final
-
The vertical alignment for the group of NavigationRail.destinations
within a NavigationRail.
final
-
Opacity used on the NavigationBar indicator.
final
-
Border radius of the selection indicator on the NavigationRail.
final
-
Select which color from the theme ColorScheme to use for
the selected NavigationRail's highlighted item.
final
-
Optional text style for the NavigationRail labels.
final
-
Defines the layout and behavior of the labels for the un-extended
NavigationRail.
final
-
Overrides the default value of NavigationRail's minimum width when it
is extended.
final
-
Overrides the default value of NavigationRail's minimum width when it
is not extended.
final
-
If true, the unselected icon in the NavigationRail use a more muted
color version of the color defined by
navigationBarUnselectedIconSchemeColor.
The muting is unselected color with
blendAlpha(unselected color,
kUnselectedBackgroundPrimaryAlphaBlend
) and withAlpha(kUnselectedAlphaBlend
).final -
If true, the unselected label in the NavigationRail use a more
muted color version of the color defined by
navigationRailUnselectedLabelSchemeColor.
final
-
NavigationRail background opacity.
final
-
Select which color from the theme's ColorScheme to use for
the NavigationRail's selected item icon color.
final
-
The size of the icon on selected NavigationRail item.
final
-
Select which color from the theme's ColorScheme to use for
the NavigationRail's selected label text color.
final
-
The size of the text label on selected NavigationRail item.
final
-
Select which color from the passed in ColorScheme to use for
the NavigationRail's unselected items icon color.
final
-
The size of the icon on unselected NavigationRail items.
final
-
Select which color from the theme's ColorScheme to use for
the NavigationRail's unselected label text color.
final
-
The size of the text label on unselected NavigationRail items.
final
-
Whether or not the selected NavigationRail item should include a
NavigationIndicator.
final
- outlinedButtonBorderWidth → double?
-
The border width of the OutlinedButton.
final
- outlinedButtonOutlineSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color, that the
OutlinedButton uses as its outline color.
final
- outlinedButtonPressedBorderWidth → double?
-
The border width of the pressed OutlinedButton.
final
- outlinedButtonRadius → double?
-
Border radius value for OutlinedButton.
final
- outlinedButtonSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color, that the
OutlinedButton use as its main theme color.
final
-
outlinedButtonTextStyle
→ WidgetStateProperty<
TextStyle?> ? -
The style for the OutlinedButton's Text widget descendants.
final
- popupMenuElevation → double?
-
Default elevation of PopupMenuButton.
final
- popupMenuOpacity → double?
-
Popup menu background opacity.
final
- popupMenuRadius → double?
-
Border radius override value for the menu on PopupMenuButton.
final
- popupMenuSchemeColor → SchemeColor?
-
The ColorScheme based color used as background color on PopupMenuButton.
final
- radioSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
Radio and RadioListTile use as base themed color.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaffoldBackgroundBaseColor → FlexScaffoldBaseColor?
-
Base color used as ThemeData.scaffoldBackgroundColor in a theme
produced by FlexColorScheme.light and FlexColorScheme.dark factories,
or extensions FlexThemeData.light and FlexThemeData.dark.
final
- scaffoldBackgroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme color, that the color
ThemeData.scaffoldBackgroundColor will use as override color.
final
- searchBarBackgroundSchemeColor → SchemeColor?
-
The search bar's background fill color.
final
- searchBarConstraints → BoxConstraints?
-
Optional size constraints for the search bar.
final
- searchBarElevation → double?
-
The elevation of the search bar's Material.
final
-
searchBarHintStyle
→ WidgetStateProperty<
TextStyle?> ? -
The style to use for the hint text in the search bar.
final
- searchBarPadding → EdgeInsetsGeometry?
-
The padding between the search bar's boundary and its contents.
final
- searchBarRadius → double?
-
The border radius of the search bar's underlying Material.
final
- searchBarShadowColor → Color?
-
The shadow color of the search bar's Material.
final
- searchBarTextCapitalization → TextCapitalization?
-
Configures how the platform keyboard will select an uppercase or
lowercase keyboard for the search bar input field.
final
-
searchBarTextStyle
→ WidgetStateProperty<
TextStyle?> ? -
The style to use for the text being edited in the search bar.
final
- searchUseGlobalShape → bool
-
Use global shape theming on SearchBar and SearchView.
final
- searchViewBackgroundSchemeColor → SchemeColor?
-
The search view's background fill color.
final
- searchViewConstraints → BoxConstraints?
-
Optional size constraints for the search view.
final
- searchViewDividerColor → Color?
-
The color of the divider on the search view.
final
- searchViewElevation → double?
-
The elevation of the search bar's Material.
final
- searchViewHeaderHeight → double?
-
The height of the search field on the search view.
final
- searchViewHeaderHintStyle → TextStyle?
-
The style to use for the hint text in the search view.
final
- searchViewHeaderTextStyle → TextStyle?
-
The style to use for the text being edited in the search view.
final
- searchViewRadius → double?
-
The border radius of the search view's underlying Material.
final
- segmentedButtonBorderSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
SegmentedButton use as its border themed color.
final
- segmentedButtonBorderWidth → double?
-
The border width of SegmentedButton.
final
- segmentedButtonRadius → double?
-
Border radius value for SegmentedButton.
final
- segmentedButtonSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color a selected
SegmentedButton use as its background theme color.
final
- segmentedButtonSelectedForegroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color a selected
SegmentedButton use as its foreground theme color.
final
-
segmentedButtonTextStyle
→ WidgetStateProperty<
TextStyle?> ? -
The style for the segmented button's Text widget descendants.
final
- segmentedButtonUnselectedForegroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
SegmentedButton use as the foreground color for unselected buttons.
final
- segmentedButtonUnselectedSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
SegmentedButton use as the background color for unselected buttons.
final
- sliderBaseSchemeColor → SchemeColor?
-
The ColorScheme based color used on the Slider as its overall base
color.
final
- sliderIndicatorSchemeColor → SchemeColor?
-
The ColorScheme based color used on the Slider indicator color.
final
- sliderShowValueIndicator → ShowValueIndicator?
-
Whether the value indicator should be shown for different types of
sliders.
final
- sliderThumbSchemeColor → SchemeColor?
-
The ColorScheme based color used on the Slider's thumb color.
final
- sliderTrackHeight → double?
-
The height of the Slider track.
final
- sliderValueIndicatorType → FlexSliderIndicatorType?
-
Enum used to select the type of built-in value indicator used by
Slider.
final
- sliderValueTinted → bool
-
If true, the value indicator becomes a tinted high contrast version of
current sliderIndicatorSchemeColor, with a bit of opacity.
final
- snackBarActionSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the SnackBar actions
use as their color.
final
- snackBarBackgroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the SnackBars
use as their base color. Typically one of inverse brightness compared
to theme's surface color brightness.
final
- snackBarContentTextStyle → TextStyle?
-
Used to configure the DefaultTextStyle for the SnackBar.content
widget.
final
- snackBarElevation → double?
-
Elevation of SnackBar.
final
- snackBarRadius → double?
-
Corner radius of the SnackBar.
final
- splashType → FlexSplashType?
-
Controls the type of splash factory ThemeData.splashFactory will use.
final
- splashTypeAdaptive → FlexSplashType?
-
Controls the type splash factory ThemeData.splashFactory will
use on platforms defined by adaptiveSplash.
final
- switchAdaptiveCupertinoLike → FlexAdaptive?
-
Controls if the Material-3 Switch uses an adaptive response to change its
style to be more like the iOS or Cupertino Switch.
final
- switchSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
Switch and SwitchListTile use as base themed color.
final
- switchThumbFixedSize → bool?
-
Set to true to keep the Switch thumb size fixed.
final
- switchThumbSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
Switch and SwitchListTile use as themed thumb color.
final
- tabBarDividerColor → Color?
-
The color of the divider.
final
- tabBarIndicatorAnimation → TabIndicatorAnimation?
-
Specifies the animation behavior of the tab indicator in a TabBar.
final
- tabBarIndicatorSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the TabBar
indicator uses.
final
- tabBarIndicatorSize → TabBarIndicatorSize?
-
Defines how the selected tab indicator's size is computed.
final
- tabBarIndicatorTopRadius → double?
-
The top left and right corner radius of the underline border
indicator on the TabBar.
final
- tabBarIndicatorWeight → double?
-
The thickness of the underline border indicator on the TabBar.
final
- tabBarItemSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the TabBar
items use.
final
- tabBarTabAlignment → TabAlignment?
-
Specifies the horizontal alignment of the tabs within a TabBar.
final
- tabBarUnselectedItemOpacity → double?
-
Defines the opacity used on the TabBar unselected items.
final
- tabBarUnselectedItemSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the TabBar
unselected items use.
final
- textButtonRadius → double?
-
Border radius override value for TextButton.
final
- textButtonSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
TextButton use as its base theme color.
final
-
textButtonTextStyle
→ WidgetStateProperty<
TextStyle?> ? -
The style for the TextButton's Text widget descendants.
final
- thickBorderWidth → double?
-
Default for thicker border width state of Widgets with an outline border.
final
- thinBorderWidth → double?
-
Default for normal border width of Widgets with an outline border.
final
- timePickerDayPeriodTextStyle → TextStyle?
-
Used to configure the TextStyles for the day period control.
final
- timePickerDialogRadius → double?
-
Border radius value for TimePickerDialog.
final
- timePickerDialTextStyle → TextStyle?
-
The TextStyle for the numbers on the time selection dial.
final
- timePickerElementRadius → double?
-
Default border radius on time entry elements in TimePickerDialog.
final
- timePickerHelpTextStyle → TextStyle?
-
Used to configure the TextStyles for the helper text in the header.
final
- timePickerHourMinuteTextStyle → TextStyle?
-
Used to configure the TextStyles for the hour/minute controls.
final
- tintedDisabledControls → bool
-
Use color tint on disabled controls.
final
- toggleButtonsBorderSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
ToggleButtons use as its border themed color.
final
- toggleButtonsBorderWidth → double?
-
The border width of ToggleButtons.
final
- toggleButtonsRadius → double?
-
Border radius value for ToggleButtons.
final
- toggleButtonsSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
ToggleButtons use as its base theme color.
final
- toggleButtonsSelectedForegroundSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
ToggleButtons use as its selected item foreground theme color.
final
- toggleButtonsTextStyle → TextStyle?
-
The default text style for ToggleButtons.children.
final
- toggleButtonsUnselectedSchemeColor → SchemeColor?
-
Defines which Theme based ColorScheme based color the
ToggleButtons use as the foreground color for unselected toggle buttons.
final
- tooltipOpacity → double?
-
Tooltip background opacity.
final
- tooltipRadius → double?
-
Border radius value for Tooltip.
final
- tooltipSchemeColor → SchemeColor?
-
The ColorScheme based color used as background color on Tooltips.
final
- tooltipShowDuration → Duration?
-
The length of time that the tooltip will be shown once it has appeared.
final
- tooltipWaitDuration → Duration?
-
The length of time that a pointer must hover over a tooltip's widget
before the tooltip will be shown.
final
- unselectedToggleIsColored → bool
-
Defines is unselected Switch, Checkbox and Radio also use their
themed color.
final
- useFlutterDefaults → bool?
-
DEPRECATED and has no function anymore.
final
- useInputDecoratorThemeInDialogs → bool?
-
Set to true to use the app overall app InputDecoration theme in
dialogs themes.
final
- useM2StyleDividerInM3 → bool
-
Determines if M2 style opacity based divider is used in Material 3.
final
- useMaterial3Typography → bool?
-
Determines if Material-3 TextTheme and Typography is used.
final
- useTextTheme → bool?
-
DEPRECATED and has no function anymore.
Use useMaterial3Typography instead.
final
Methods
-
copyWith(
{bool? interactionEffects, bool? tintedDisabledControls, int? blendOnLevel, bool? blendOnColors, FlexAdaptive? adaptiveRemoveElevationTint, FlexAdaptive? adaptiveElevationShadowsBack, FlexAdaptive? adaptiveAppBarScrollUnderOff, FlexAdaptive? adaptiveRadius, FlexAdaptive? adaptiveDialogRadius, FlexAdaptive? adaptiveInputDecoratorRadius, FlexAdaptive? adaptiveSplash, FlexSplashType? splashType, FlexSplashType? splashTypeAdaptive, bool? blendTextTheme, bool? useMaterial3Typography, bool? useM2StyleDividerInM3, double? defaultRadius, double? defaultRadiusAdaptive, Size? buttonMinSize, bool? alignedDropdown, EdgeInsetsGeometry? buttonPadding, double? thickBorderWidth, double? thinBorderWidth, double? textButtonRadius, SchemeColor? textButtonSchemeColor, WidgetStateProperty< TextStyle?> ? textButtonTextStyle, double? filledButtonRadius, SchemeColor? filledButtonSchemeColor, WidgetStateProperty<TextStyle?> ? filledButtonTextStyle, double? elevatedButtonRadius, double? elevatedButtonElevation, SchemeColor? elevatedButtonSchemeColor, SchemeColor? elevatedButtonSecondarySchemeColor, WidgetStateProperty<TextStyle?> ? elevatedButtonTextStyle, double? outlinedButtonRadius, SchemeColor? outlinedButtonSchemeColor, SchemeColor? outlinedButtonOutlineSchemeColor, double? outlinedButtonBorderWidth, double? outlinedButtonPressedBorderWidth, WidgetStateProperty<TextStyle?> ? outlinedButtonTextStyle, double? toggleButtonsRadius, SchemeColor? toggleButtonsSchemeColor, SchemeColor? toggleButtonsSelectedForegroundSchemeColor, SchemeColor? toggleButtonsUnselectedSchemeColor, SchemeColor? toggleButtonsBorderSchemeColor, double? toggleButtonsBorderWidth, TextStyle? toggleButtonsTextStyle, double? segmentedButtonRadius, SchemeColor? segmentedButtonSchemeColor, SchemeColor? segmentedButtonSelectedForegroundSchemeColor, SchemeColor? segmentedButtonUnselectedSchemeColor, SchemeColor? segmentedButtonUnselectedForegroundSchemeColor, SchemeColor? segmentedButtonBorderSchemeColor, double? segmentedButtonBorderWidth, WidgetStateProperty<TextStyle?> ? segmentedButtonTextStyle, FlexScaffoldBaseColor? scaffoldBackgroundBaseColor, SchemeColor? scaffoldBackgroundSchemeColor, SchemeColor? materialButtonSchemeColor, SchemeColor? switchSchemeColor, SchemeColor? switchThumbSchemeColor, bool? switchThumbFixedSize, FlexAdaptive? switchAdaptiveCupertinoLike, SchemeColor? checkboxSchemeColor, SchemeColor? radioSchemeColor, bool? unselectedToggleIsColored, SchemeColor? sliderBaseSchemeColor, SchemeColor? sliderThumbSchemeColor, SchemeColor? sliderIndicatorSchemeColor, bool? sliderValueTinted, FlexSliderIndicatorType? sliderValueIndicatorType, ShowValueIndicator? sliderShowValueIndicator, double? sliderTrackHeight, double? inputDecoratorRadius, double? inputDecoratorRadiusAdaptive, SchemeColor? inputDecoratorSchemeColor, EdgeInsetsGeometry? inputDecoratorContentPadding, bool? inputDecoratorIsDense, bool? inputDecoratorIsFilled, Color? inputDecoratorFillColor, int? inputDecoratorBackgroundAlpha, SchemeColor? inputDecoratorBorderSchemeColor, FlexInputBorderType? inputDecoratorBorderType, bool? inputDecoratorFocusedHasBorder, bool? inputDecoratorUnfocusedHasBorder, bool? inputDecoratorUnfocusedBorderIsColored, double? inputDecoratorBorderWidth, double? inputDecoratorFocusedBorderWidth, SchemeColor? inputDecoratorPrefixIconSchemeColor, SchemeColor? inputDecoratorSuffixIconSchemeColor, SchemeColor? inputCursorSchemeColor, SchemeColor? inputSelectionSchemeColor, double? inputSelectionOpacity, SchemeColor? inputSelectionHandleSchemeColor, SchemeColor? listTileSelectedSchemeColor, SchemeColor? listTileIconSchemeColor, SchemeColor? listTileTextSchemeColor, TextStyle? listTileTitleTextStyle, TextStyle? listTileSubtitleTextStyle, TextStyle? listTileLeadingAndTrailingTextStyle, SchemeColor? listTileTileSchemeColor, SchemeColor? listTileSelectedTileSchemeColor, EdgeInsetsGeometry? listTileContentPadding, double? listTileHorizontalTitleGap, double? listTileMinVerticalPadding, ListTileStyle? listTileStyle, ListTileTitleAlignment? listTileTitleAlignment, ListTileControlAffinity? listTileControlAffinity, double? fabRadius, bool? fabUseShape, bool? fabAlwaysCircular, SchemeColor? fabSchemeColor, SchemeColor? fabForegroundSchemeColor, TextStyle? fabExtendedTextStyle, double? chipRadius, bool? chipBlendColors, SchemeColor? chipSchemeColor, SchemeColor? chipSelectedSchemeColor, SchemeColor? chipSecondarySelectedSchemeColor, SchemeColor? chipDeleteIconSchemeColor, TextStyle? chipLabelStyle, TextStyle? chipSecondaryLabelStyle, double? chipFontSize, double? chipSecondaryFontSize, double? chipIconSize, EdgeInsetsGeometry? chipPadding, double? cardRadius, double? cardElevation, double? popupMenuRadius, double? popupMenuElevation, SchemeColor? popupMenuSchemeColor, double? popupMenuOpacity, TextStyle? dropdownMenuTextStyle, double? tooltipRadius, Duration? tooltipWaitDuration, Duration? tooltipShowDuration, SchemeColor? tooltipSchemeColor, double? tooltipOpacity, SchemeColor? searchBarBackgroundSchemeColor, SchemeColor? searchViewBackgroundSchemeColor, double? searchBarElevation, double? searchViewElevation, double? searchBarRadius, double? searchViewRadius, bool? searchUseGlobalShape, double? searchViewHeaderHeight, WidgetStateProperty<TextStyle?> ? searchBarTextStyle, TextStyle? searchViewHeaderTextStyle, WidgetStateProperty<TextStyle?> ? searchBarHintStyle, TextStyle? searchViewHeaderHintStyle, Color? searchViewDividerColor, Color? searchBarShadowColor, TextCapitalization? searchBarTextCapitalization, EdgeInsetsGeometry? searchBarPadding, BoxConstraints? searchBarConstraints, BoxConstraints? searchViewConstraints, bool? useInputDecoratorThemeInDialogs, double? dialogRadius, double? dialogRadiusAdaptive, double? dialogElevation, SchemeColor? dialogBackgroundSchemeColor, TextStyle? dialogTitleTextStyle, TextStyle? dialogContentTextStyle, SchemeColor? datePickerHeaderBackgroundSchemeColor, SchemeColor? datePickerHeaderForegroundSchemeColor, double? datePickerDialogRadius, SchemeColor? datePickerDividerSchemeColor, TextStyle? datePickerHeaderHeadlineStyle, TextStyle? datePickerHeaderHelpStyle, TextStyle? datePickerWeekdayStyle, TextStyle? datePickerDayStyle, TextStyle? datePickerYearStyle, TextStyle? datePickerRangePickerHeaderHeadlineStyle, TextStyle? datePickerRangePickerHeaderHelpStyle, double? timePickerDialogRadius, double? timePickerElementRadius, TextStyle? timePickerDayPeriodTextStyle, TextStyle? timePickerDialTextStyle, TextStyle? timePickerHelpTextStyle, TextStyle? timePickerHourMinuteTextStyle, double? snackBarRadius, double? snackBarElevation, SchemeColor? snackBarBackgroundSchemeColor, SchemeColor? snackBarActionSchemeColor, TextStyle? snackBarContentTextStyle, SchemeColor? appBarBackgroundSchemeColor, SchemeColor? appBarForegroundSchemeColor, SchemeColor? appBarIconSchemeColor, SchemeColor? appBarActionsIconSchemeColor, bool? appBarCenterTitle, double? appBarScrolledUnderElevation, TextStyle? appBarToolbarTextStyle, TextStyle? appBarTitleTextStyle, SchemeColor? bottomAppBarSchemeColor, double? bottomAppBarHeight, SchemeColor? tabBarItemSchemeColor, SchemeColor? tabBarUnselectedItemSchemeColor, double? tabBarUnselectedItemOpacity, SchemeColor? tabBarIndicatorSchemeColor, TabBarIndicatorSize? tabBarIndicatorSize, double? tabBarIndicatorWeight, double? tabBarIndicatorTopRadius, Color? tabBarDividerColor, TabAlignment? tabBarTabAlignment, TabIndicatorAnimation? tabBarIndicatorAnimation, double? drawerRadius, double? drawerElevation, SchemeColor? drawerBackgroundSchemeColor, double? drawerWidth, double? drawerIndicatorWidth, double? drawerIndicatorRadius, SchemeColor? drawerIndicatorSchemeColor, double? drawerIndicatorOpacity, SchemeColor? drawerSelectedItemSchemeColor, SchemeColor? drawerUnselectedItemSchemeColor, SchemeColor? bottomSheetBackgroundColor, SchemeColor? bottomSheetModalBackgroundColor, double? bottomSheetRadius, double? bottomSheetElevation, double? bottomSheetModalElevation, Clip? bottomSheetClipBehavior, bool? useTextTheme, bool? useFlutterDefaults}) → FlexSubThemesData - Copy the object with one or more provided properties changed.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Flutter debug properties override, includes toString.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
Override for equality operator.
override