FlexSubThemesData constructor

const FlexSubThemesData({
  1. bool interactionEffects = true,
  2. bool blendOnColors = true,
  3. bool blendTextTheme = true,
  4. bool useTextTheme = true,
  5. double? defaultRadius,
  6. Size buttonMinSize = kButtonMinSize,
  7. EdgeInsetsGeometry buttonPadding = kButtonPadding,
  8. double thickBorderWidth = kThickBorderWidth,
  9. double thinBorderWidth = kThinBorderWidth,
  10. double? textButtonRadius,
  11. double? elevatedButtonRadius,
  12. double elevatedButtonElevation = kElevatedButtonElevation,
  13. double? outlinedButtonRadius,
  14. double? toggleButtonsRadius,
  15. double? inputDecorationRadius,
  16. SchemeColor? inputDecoratorSchemeColor,
  17. bool inputDecoratorIsFilled = true,
  18. Color? inputDecoratorFillColor,
  19. FlexInputBorderType inputDecoratorBorderType = FlexInputBorderType.outline,
  20. bool inputDecoratorUnfocusedHasBorder = true,
  21. double? chipRadius,
  22. SchemeColor? chipSchemeColor,
  23. double? fabRadius,
  24. bool fabUseShape = true,
  25. double? cardRadius,
  26. double cardElevation = kCardElevation,
  27. double? popupMenuRadius,
  28. double popupMenuElevation = kPopupMenuElevation,
  29. double? popupMenuOpacity = 1,
  30. double? dialogRadius,
  31. double dialogElevation = kDialogElevation,
  32. double? timePickerDialogRadius,
  33. double snackBarElevation = kSnackBarElevation,
  34. SchemeColor? tabBarIndicatorSchemeColor,
  35. double? bottomSheetRadius,
  36. double bottomSheetElevation = kBottomSheetElevation,
  37. double bottomSheetModalElevation = kBottomSheetModalElevation,
  38. double bottomNavigationBarElevation = kBottomNavigationBarElevation,
  39. double bottomNavigationBarOpacity = 1,
  40. SchemeColor? bottomNavigationBarSchemeColor,
  41. SchemeColor? bottomNavigationBarBackgroundSchemeColor,
  42. BottomNavigationBarLandscapeLayout? bottomNavigationBarLandscapeLayout,
  43. bool navigationBarIsStyled = true,
  44. double? navigationBarHeight,
  45. double navigationBarOpacity = 1,
  46. SchemeColor? navigationBarIconSchemeColor,
  47. SchemeColor? navigationBarTextSchemeColor,
  48. SchemeColor? navigationBarHighlightSchemeColor,
  49. SchemeColor? navigationBarBackgroundSchemeColor,
  50. bool? navigationBarMutedUnselectedIcon,
  51. bool? navigationBarMutedUnselectedText,
  52. double? navigationBarSelectedLabelSize,
  53. double? navigationBarUnselectedLabelSize,
  54. double? navigationBarSelectedIconSize,
  55. double? navigationBarUnselectedIconSize,
  56. NavigationDestinationLabelBehavior? navigationBarLabelBehavior,
})

Default constructor, used to make an immutable FlexSubThemesData object.

Implementation

const FlexSubThemesData({
  this.interactionEffects = true,
  this.blendOnColors = true,
  this.blendTextTheme = true,
  this.useTextTheme = true,
  this.defaultRadius,
  this.buttonMinSize = kButtonMinSize,
  this.buttonPadding = kButtonPadding,
  this.thickBorderWidth = kThickBorderWidth,
  this.thinBorderWidth = kThinBorderWidth,
  this.textButtonRadius,
  this.elevatedButtonRadius,
  this.elevatedButtonElevation = kElevatedButtonElevation,
  this.outlinedButtonRadius,
  this.toggleButtonsRadius,
  this.inputDecorationRadius,
  this.inputDecoratorSchemeColor,
  this.inputDecoratorIsFilled = true,
  this.inputDecoratorFillColor,
  this.inputDecoratorBorderType = FlexInputBorderType.outline,
  this.inputDecoratorUnfocusedHasBorder = true,
  this.chipRadius,
  this.chipSchemeColor,
  this.fabRadius,
  this.fabUseShape = true,
  this.cardRadius,
  this.cardElevation = kCardElevation,
  this.popupMenuRadius,
  this.popupMenuElevation = kPopupMenuElevation,
  this.popupMenuOpacity = 1,
  this.dialogRadius,
  this.dialogElevation = kDialogElevation,
  this.timePickerDialogRadius,
  this.snackBarElevation = kSnackBarElevation,
  this.tabBarIndicatorSchemeColor,
  this.bottomSheetRadius,
  this.bottomSheetElevation = kBottomSheetElevation,
  this.bottomSheetModalElevation = kBottomSheetModalElevation,
  this.bottomNavigationBarElevation = kBottomNavigationBarElevation,
  this.bottomNavigationBarOpacity = 1,
  this.bottomNavigationBarSchemeColor,
  this.bottomNavigationBarBackgroundSchemeColor,
  this.bottomNavigationBarLandscapeLayout,
  this.navigationBarIsStyled = true,
  this.navigationBarHeight,
  this.navigationBarOpacity = 1,
  this.navigationBarIconSchemeColor,
  this.navigationBarTextSchemeColor,
  this.navigationBarHighlightSchemeColor,
  this.navigationBarBackgroundSchemeColor,
  this.navigationBarMutedUnselectedIcon,
  this.navigationBarMutedUnselectedText,
  this.navigationBarSelectedLabelSize,
  this.navigationBarUnselectedLabelSize,
  this.navigationBarSelectedIconSize,
  this.navigationBarUnselectedIconSize,
  this.navigationBarLabelBehavior,
});