FormControlCollection<T> class abstract

The base class form FormGroup and FormArray. Its provides methods for get a control by name and a Listenable that emits events each time you add or remove a control to the collection.

Implementers

Constructors

FormControlCollection()

Properties

collectionChanges Stream<List<AbstractControl<Object?>>>
Emits when a control is added or removed from collection.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeCollectionEvents() → void
Close stream that emit collection change events
contains(String name) bool
Checks if collection contains a control by a given name.
control(String name) AbstractControl
Retrieves a child control given the control's name or path.
emitsCollectionChanged(List<AbstractControl<Object?>> controls) → void
Notify to listeners that the collection changed.
findControlInCollection(List<String> path) AbstractControl<Object>?
Walks the path to find the matching control.
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