FormControlOptions class
Configuration options for a FormControl.
This class defines flags to control the behavior of the form control, such as whether it is required, disabled, or readonly.
Constructors
- FormControlOptions({bool required = false, bool disabled = false, bool readonly = false, bool touched = false})
Properties
- disabled ↔ bool
-
Whether the control is disabled (user cannot edit).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- readonly ↔ bool
-
Whether the control is readonly (user can see but not change).
getter/setter pair
- required ↔ bool
-
Whether the control is marked as required.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- touched ↔ bool
-
Creates a new FormControlOptions instance.
getter/setter pair
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