ListBindingFieldController class

Inheritance
Implemented types
Available extensions

Constructors

ListBindingFieldController(FieldBindingParent parent, FlutterWidgetBinder binder, FieldBindingContext bindingContext, FlutterWidgetBinder childBinder, TypeTree typeTree, DogConverter converter)

Properties

binder FlutterWidgetBinder
The widget binder that handles the conversion between data and widgets.
finalinherited
bindingContext FieldBindingContext
The binding context containing field metadata and validation rules.
finalinherited
childBinder FlutterWidgetBinder
final
converter DogConverter
final
engine DogEngine
The dogs engine instance associated with this binding parent.
no setteroverride
errorListenable ValueNotifier<AnnotationResult>
Streaming error notifier for this field.
getter/setter pairinherited
fieldName String

Available on FieldBindingController, provided by the FieldBindingControllerExtension extension

Gets the name of the field this controller is bound to.
no setter
fieldOrder List<String>
getter/setter pair
fields Map<String, FieldBindingController>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
hasStateError bool
Indicates whether this field has any state errors.
no setteroverride
initialValue ↔ dynamic
The initial value of this field, will be applied post construct and may change over the lifetime of the controller. Do not manually set this here, use the StructureBindingController to set or change initial values.
getter/setter pairinherited
parent FieldBindingParent
The parent StructureBindingController that manages this field.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeTree TypeTree
final
validationTrigger ValidationTrigger
The validation trigger that determines when validation occurs.
getter/setter pairinherited

Methods

addField() → void
addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Disposes of any resources held by this controller.
override
field(String name) FieldBindingController
Gets the binding controller for a specific field.
override
focus() → void
Requests focus for this field.
inherited
getValue() → dynamic
Gets the current value of this field.
override
handleErrors(AnnotationResult result) → void
Handles validation errors for this field.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyFieldValue(String fieldName, dynamic fieldValue) → void
Notifies the controller of a field value change.
override
notifyListeners() → void
Call all the registered listeners.
inherited
performValidation([ValidationTrigger? trigger]) → void
override
removeFieldAt(int index) → void
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
reorderFields(int oldIndex, int newIndex) → void
requestFieldValidation(String fieldName, dynamic fieldValue) → void
Requests validation for a specific field. The result of the validation will be pushed to the field's ValueNotifier.
override
reset() → void
Resets this field to its initial state.
inherited
setValue(dynamic value) → void
Sets the value for this field.
override
toString() String
A string representation of this object.
inherited

Operators

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