FormTheme constructor
const
FormTheme({
- TextStyle? textStyle,
- MaterialStateProperty<
Color?> ? textColor, - InputDecorationTheme? decorationTheme,
- EdgeInsetsGeometry? padding,
- CheckboxFieldTheme checkboxTheme = const CheckboxFieldTheme(),
- ChoiceChipFieldTheme choiceChipTheme = const ChoiceChipFieldTheme(),
- FilterChipFieldTheme filterChipTheme = const FilterChipFieldTheme(),
- DateTimeFieldTheme dateTimeTheme = const DateTimeFieldTheme(),
- DropdownFieldTheme dropdownTheme = const DropdownFieldTheme(),
- SliderFieldTheme sliderTheme = const SliderFieldTheme(),
- SwitchFieldTheme switchTheme = const SwitchFieldTheme(),
- RadioFieldTheme radioTheme = const RadioFieldTheme(),
- TextFieldTheme textTheme = const TextFieldTheme(),
- ClearSuffixButtonTheme clearSuffixButtonTheme = const ClearSuffixButtonTheme(),
- ObscureSuffixButtonTheme obscureSuffixButtonTheme = const ObscureSuffixButtonTheme(),
- 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(),
});