FormTheme constructor

const FormTheme({
  1. TextStyle? textStyle,
  2. MaterialStateProperty<Color?>? textColor,
  3. InputDecorationTheme? decorationTheme,
  4. EdgeInsetsGeometry? padding,
  5. CheckboxFieldTheme checkboxTheme = const CheckboxFieldTheme(),
  6. ChoiceChipFieldTheme choiceChipTheme = const ChoiceChipFieldTheme(),
  7. FilterChipFieldTheme filterChipTheme = const FilterChipFieldTheme(),
  8. DateTimeFieldTheme dateTimeTheme = const DateTimeFieldTheme(),
  9. DropdownFieldTheme dropdownTheme = const DropdownFieldTheme(),
  10. SliderFieldTheme sliderTheme = const SliderFieldTheme(),
  11. SwitchFieldTheme switchTheme = const SwitchFieldTheme(),
  12. RadioFieldTheme radioTheme = const RadioFieldTheme(),
  13. TextFieldTheme textTheme = const TextFieldTheme(),
  14. ClearSuffixButtonTheme clearSuffixButtonTheme = const ClearSuffixButtonTheme(),
  15. ObscureSuffixButtonTheme obscureSuffixButtonTheme = const ObscureSuffixButtonTheme(),
  16. ScrollableFormTheme scrollableFormTheme = const ScrollableFormTheme(),
})

Implementation

const FormTheme({
  this.textStyle,
  this.textColor,
  this.decorationTheme,
  this.padding,
  this.checkboxTheme = const CheckboxFieldTheme(),
  this.choiceChipTheme = const ChoiceChipFieldTheme(),
  this.filterChipTheme = const FilterChipFieldTheme(),
  this.dateTimeTheme = const DateTimeFieldTheme(),
  this.dropdownTheme = const DropdownFieldTheme(),
  this.sliderTheme = const SliderFieldTheme(),
  this.switchTheme = const SwitchFieldTheme(),
  this.radioTheme = const RadioFieldTheme(),
  this.textTheme = const TextFieldTheme(),
  this.clearSuffixButtonTheme = const ClearSuffixButtonTheme(),
  this.obscureSuffixButtonTheme = const ObscureSuffixButtonTheme(),
  this.scrollableFormTheme = const ScrollableFormTheme(),
});