FormStyle class
A class representing the style properties for a form.
Constructors
- FormStyle({Color? background, Color? borderColor, double? radius, IconData? prefixIcon, IconData? suffixIcon, Color? prefixIconColor, Color? suffixIconColor, Widget? prefix, Color? textColor, RadioStyle? radio, CheckboxStyle? checkbox, SlideStyle? slide})
- Constructs a FormStyle.
Properties
- background → Color?
-
The background color of the form.
final
- borderColor → Color?
-
The border color of the form.
final
- checkbox → CheckboxStyle?
-
The style properties for checkboxes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- prefix → Widget?
-
The prefix widget to be displayed before the input field.
final
- prefixIcon → IconData?
-
The icon to be displayed before the input field.
final
- prefixIconColor → Color?
-
The color of the prefix icon.
final
- radio → RadioStyle?
-
The style properties for radio buttons.
final
- radius → double?
-
The radius of the form's corners.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slide → SlideStyle?
-
The style properties for slides.
final
- suffixIcon → IconData?
-
The icon to be displayed after the input field.
final
- suffixIconColor → Color?
-
The color of the suffix icon.
final
- textColor → Color?
-
The text color of the form.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited