FormBuilder class
Creates an AbstractControl from a user-specified configuration.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
array<
T> (List< Object> value, [List<Validator> validators = const [], List<AsyncValidator> asyncValidators = const []]) → FormArray<T> - Construct a new FormArray instance.
-
control<
T> (T value, [List< Validator> validators = const [], List<AsyncValidator> asyncValidators = const []]) → FormControl<T> - Construct a new FormControl instance.
-
group(
Map< String, Object> controls, [List<Validator> validators = const [], List<AsyncValidator> asyncValidators = const []]) → FormGroup - Construct a new FormGroup instance.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
state<
T> ({T? value, bool? disabled}) → ControlState< T> - Creates a ControlState.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited