FlexSubThemesData constructor

const FlexSubThemesData({
  1. bool interactionEffects = true,
  2. bool tintedDisabledControls = true,
  3. int? blendOnLevel,
  4. bool blendOnColors = true,
  5. bool useFlutterDefaults = false,
  6. FlexAdaptive? adaptiveRemoveElevationTint,
  7. FlexAdaptive? adaptiveElevationShadowsBack,
  8. FlexAdaptive? adaptiveAppBarScrollUnderOff,
  9. FlexAdaptive? adaptiveRadius,
  10. FlexAdaptive? adaptiveSplash,
  11. FlexSplashType? splashType,
  12. FlexSplashType? splashTypeAdaptive,
  13. bool blendTextTheme = false,
  14. bool? useTextTheme,
  15. bool useM2StyleDividerInM3 = false,
  16. double? defaultRadius,
  17. double? defaultRadiusAdaptive,
  18. Size? buttonMinSize,
  19. bool? alignedDropdown,
  20. EdgeInsetsGeometry? buttonPadding,
  21. double? thickBorderWidth,
  22. double? thinBorderWidth,
  23. double? textButtonRadius,
  24. SchemeColor? textButtonSchemeColor,
  25. MaterialStateProperty<TextStyle?>? textButtonTextStyle,
  26. double? filledButtonRadius,
  27. SchemeColor? filledButtonSchemeColor,
  28. MaterialStateProperty<TextStyle?>? filledButtonTextStyle,
  29. double? elevatedButtonRadius,
  30. double? elevatedButtonElevation,
  31. SchemeColor? elevatedButtonSchemeColor,
  32. SchemeColor? elevatedButtonSecondarySchemeColor,
  33. MaterialStateProperty<TextStyle?>? elevatedButtonTextStyle,
  34. double? outlinedButtonRadius,
  35. SchemeColor? outlinedButtonSchemeColor,
  36. SchemeColor? outlinedButtonOutlineSchemeColor,
  37. double? outlinedButtonBorderWidth,
  38. double? outlinedButtonPressedBorderWidth,
  39. MaterialStateProperty<TextStyle?>? outlinedButtonTextStyle,
  40. double? toggleButtonsRadius,
  41. SchemeColor? toggleButtonsSchemeColor,
  42. SchemeColor? toggleButtonsUnselectedSchemeColor,
  43. SchemeColor? toggleButtonsBorderSchemeColor,
  44. double? toggleButtonsBorderWidth,
  45. double? segmentedButtonRadius,
  46. SchemeColor? segmentedButtonSchemeColor,
  47. SchemeColor? segmentedButtonUnselectedSchemeColor,
  48. SchemeColor? segmentedButtonUnselectedForegroundSchemeColor,
  49. SchemeColor? segmentedButtonBorderSchemeColor,
  50. double? segmentedButtonBorderWidth,
  51. SchemeColor? materialButtonSchemeColor,
  52. SchemeColor? switchSchemeColor,
  53. SchemeColor? switchThumbSchemeColor,
  54. bool? switchThumbFixedSize,
  55. SchemeColor? checkboxSchemeColor,
  56. SchemeColor? radioSchemeColor,
  57. bool unselectedToggleIsColored = false,
  58. SchemeColor? sliderBaseSchemeColor,
  59. SchemeColor? sliderIndicatorSchemeColor,
  60. bool sliderValueTinted = false,
  61. FlexSliderIndicatorType? sliderValueIndicatorType,
  62. ShowValueIndicator? sliderShowValueIndicator,
  63. double? sliderTrackHeight,
  64. double? inputDecoratorRadius,
  65. SchemeColor? inputDecoratorSchemeColor,
  66. bool inputDecoratorIsFilled = true,
  67. Color? inputDecoratorFillColor,
  68. int? inputDecoratorBackgroundAlpha,
  69. SchemeColor? inputDecoratorBorderSchemeColor,
  70. FlexInputBorderType? inputDecoratorBorderType,
  71. bool inputDecoratorFocusedHasBorder = true,
  72. bool inputDecoratorUnfocusedHasBorder = true,
  73. bool inputDecoratorUnfocusedBorderIsColored = true,
  74. double? inputDecoratorBorderWidth,
  75. double? inputDecoratorFocusedBorderWidth,
  76. SchemeColor? inputDecoratorPrefixIconSchemeColor,
  77. SchemeColor? inputCursorSchemeColor,
  78. SchemeColor? inputSelectionSchemeColor,
  79. double? inputSelectionOpacity,
  80. SchemeColor? inputSelectionHandleSchemeColor,
  81. double? fabRadius,
  82. bool fabUseShape = false,
  83. bool fabAlwaysCircular = false,
  84. SchemeColor? fabSchemeColor,
  85. double? chipRadius,
  86. SchemeColor? chipSchemeColor,
  87. SchemeColor? chipSelectedSchemeColor,
  88. SchemeColor? chipDeleteIconSchemeColor,
  89. double? cardRadius,
  90. double? cardElevation,
  91. double? popupMenuRadius,
  92. double? popupMenuElevation,
  93. SchemeColor? popupMenuSchemeColor,
  94. double? popupMenuOpacity,
  95. TextStyle? dropdownMenuTextStyle,
  96. double? menuRadius,
  97. double? menuElevation,
  98. SchemeColor? menuSchemeColor,
  99. double? menuOpacity,
  100. EdgeInsetsGeometry? menuPadding,
  101. SchemeColor? menuBarBackgroundSchemeColor,
  102. double? menuBarRadius,
  103. double? menuBarElevation,
  104. Color? menuBarShadowColor,
  105. SchemeColor? menuItemBackgroundSchemeColor,
  106. SchemeColor? menuItemForegroundSchemeColor,
  107. SchemeColor? menuIndicatorBackgroundSchemeColor,
  108. SchemeColor? menuIndicatorForegroundSchemeColor,
  109. double? menuIndicatorRadius,
  110. double? tooltipRadius,
  111. Duration? tooltipWaitDuration,
  112. Duration? tooltipShowDuration,
  113. SchemeColor? tooltipSchemeColor,
  114. double? tooltipOpacity,
  115. FlexAdaptive? adaptiveDialogRadius,
  116. double? dialogRadius,
  117. double? dialogRadiusAdaptive,
  118. double? dialogElevation,
  119. SchemeColor? dialogBackgroundSchemeColor,
  120. bool? useInputDecoratorThemeInDialogs,
  121. SchemeColor? datePickerHeaderBackgroundSchemeColor,
  122. double? datePickerDialogRadius,
  123. double? timePickerDialogRadius,
  124. double? timePickerElementRadius,
  125. double? snackBarRadius,
  126. double? snackBarElevation,
  127. SchemeColor? snackBarBackgroundSchemeColor,
  128. SchemeColor? snackBarActionSchemeColor,
  129. SchemeColor? appBarBackgroundSchemeColor,
  130. bool? appBarCenterTitle,
  131. double? appBarScrolledUnderElevation,
  132. SchemeColor? bottomAppBarSchemeColor,
  133. SchemeColor? tabBarItemSchemeColor,
  134. SchemeColor? tabBarUnselectedItemSchemeColor,
  135. double? tabBarUnselectedItemOpacity,
  136. SchemeColor? tabBarIndicatorSchemeColor,
  137. TabBarIndicatorSize? tabBarIndicatorSize,
  138. double? tabBarIndicatorWeight,
  139. double? tabBarIndicatorTopRadius,
  140. Color? tabBarDividerColor,
  141. double? drawerRadius,
  142. double? drawerElevation,
  143. SchemeColor? drawerBackgroundSchemeColor,
  144. double? drawerWidth,
  145. double? drawerIndicatorRadius,
  146. double? drawerIndicatorWidth,
  147. SchemeColor? drawerIndicatorSchemeColor,
  148. double? drawerIndicatorOpacity,
  149. SchemeColor? drawerSelectedItemSchemeColor,
  150. SchemeColor? drawerUnselectedItemSchemeColor,
  151. SchemeColor? bottomSheetBackgroundColor,
  152. SchemeColor? bottomSheetModalBackgroundColor,
  153. double? bottomSheetRadius,
  154. double? bottomSheetElevation,
  155. double? bottomSheetModalElevation,
  156. TextStyle? bottomNavigationBarLabelTextStyle,
  157. double? bottomNavigationBarSelectedLabelSize,
  158. double? bottomNavigationBarUnselectedLabelSize,
  159. SchemeColor? bottomNavigationBarSelectedLabelSchemeColor,
  160. SchemeColor? bottomNavigationBarUnselectedLabelSchemeColor,
  161. bool? bottomNavigationBarMutedUnselectedLabel = true,
  162. double? bottomNavigationBarSelectedIconSize,
  163. double? bottomNavigationBarUnselectedIconSize,
  164. SchemeColor? bottomNavigationBarSelectedIconSchemeColor,
  165. SchemeColor? bottomNavigationBarUnselectedIconSchemeColor,
  166. bool? bottomNavigationBarMutedUnselectedIcon = true,
  167. SchemeColor? bottomNavigationBarBackgroundSchemeColor,
  168. double? bottomNavigationBarOpacity,
  169. double? bottomNavigationBarElevation,
  170. bool bottomNavigationBarShowSelectedLabels = true,
  171. bool bottomNavigationBarShowUnselectedLabels = true,
  172. BottomNavigationBarType? bottomNavigationBarType,
  173. BottomNavigationBarLandscapeLayout? bottomNavigationBarLandscapeLayout,
  174. TextStyle? navigationBarLabelTextStyle,
  175. double? navigationBarSelectedLabelSize,
  176. double? navigationBarUnselectedLabelSize,
  177. SchemeColor? navigationBarSelectedLabelSchemeColor,
  178. SchemeColor? navigationBarUnselectedLabelSchemeColor,
  179. bool? navigationBarMutedUnselectedLabel = true,
  180. double? navigationBarSelectedIconSize,
  181. double? navigationBarUnselectedIconSize,
  182. SchemeColor? navigationBarSelectedIconSchemeColor,
  183. SchemeColor? navigationBarUnselectedIconSchemeColor,
  184. bool? navigationBarMutedUnselectedIcon = true,
  185. SchemeColor? navigationBarIndicatorSchemeColor,
  186. double? navigationBarIndicatorOpacity,
  187. double? navigationBarIndicatorRadius,
  188. SchemeColor? navigationBarBackgroundSchemeColor,
  189. double? navigationBarOpacity,
  190. double? navigationBarElevation,
  191. double? navigationBarHeight,
  192. NavigationDestinationLabelBehavior? navigationBarLabelBehavior,
  193. FlexAdaptive? adaptiveRemoveNavigationBarTint,
  194. TextStyle? navigationRailLabelTextStyle,
  195. double? navigationRailSelectedLabelSize,
  196. double? navigationRailUnselectedLabelSize,
  197. SchemeColor? navigationRailSelectedLabelSchemeColor,
  198. SchemeColor? navigationRailUnselectedLabelSchemeColor,
  199. bool? navigationRailMutedUnselectedLabel = true,
  200. double? navigationRailSelectedIconSize,
  201. double? navigationRailUnselectedIconSize,
  202. SchemeColor? navigationRailSelectedIconSchemeColor,
  203. SchemeColor? navigationRailUnselectedIconSchemeColor,
  204. bool? navigationRailMutedUnselectedIcon = true,
  205. bool? navigationRailUseIndicator = true,
  206. SchemeColor? navigationRailIndicatorSchemeColor,
  207. double? navigationRailIndicatorOpacity,
  208. double? navigationRailIndicatorRadius,
  209. SchemeColor? navigationRailBackgroundSchemeColor,
  210. double? navigationRailOpacity,
  211. double? navigationRailElevation,
  212. NavigationRailLabelType? navigationRailLabelType,
  213. double? navigationRailGroupAlignment,
})

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,
});