FormTheme class

Constructors

FormTheme({TextStyle? textStyle, WidgetStateProperty<Color?>? textColor, InputDecorationThemeData? 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()})
const

Properties

checkboxTheme → CheckboxFieldTheme
The theme of CheckboxFieldBlocBuilder and CheckboxGroupFieldBlocBuilder
final
choiceChipTheme → ChoiceChipFieldTheme
The theme of ChoiceChipFieldBlocBuilder
final
clearSuffixButtonTheme → ClearSuffixButtonTheme
final
dateTimeTheme → DateTimeFieldTheme
The theme of DateTimeFieldBlocBuilder
final
decorationTheme → InputDecorationThemeData?
If FieldTheme.decorationTheme is null this value is used
final
The theme of DropdownFieldBlocBuilder
final
filterChipTheme → FilterChipFieldTheme
The theme of FilterChipFieldBlocBuilder
final
hashCode → int
The hash code for this object.
no setterinherited
obscureSuffixButtonTheme → ObscureSuffixButtonTheme
final
padding → EdgeInsetsGeometry?
Defaults defaultPadding
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
radioTheme → RadioFieldTheme
the theme of RadioButtonGroupFieldBlocBuilder
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollableFormTheme → ScrollableFormTheme
The theme of ScrollableFormBlocManager
final
sliderTheme → SliderFieldTheme
The theme of SliderFieldBlocBuilder
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
switchTheme → SwitchFieldTheme
The theme of SwitchFieldBlocBuilder
final
textColor → WidgetStateProperty<Color?>?
If FieldTheme.textColor is null this value is used
final
textStyle → TextStyle?
If FieldTheme.textStyle is null this value is used
final
textTheme → TextFieldTheme
The theme of TextFieldBlocBuilder
final

Methods

copyWith({TextStyle? textStyle, WidgetStateProperty<Color?>? textColor, InputDecorationThemeData? decorationTheme, EdgeInsetsGeometry? padding, CheckboxFieldTheme? checkboxTheme, DropdownFieldTheme? dropdownTheme, RadioFieldTheme? radioTheme, SwitchFieldTheme? switchTheme, TextFieldTheme? textTheme}) → FormTheme
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

defaultPadding ↔ EdgeInsets
Returns EdgeInsets.symmetric(vertical: 8.0).
getter/setter pair

Static Methods

of(BuildContext context) → FormTheme