BoolBindingFieldController class

Inheritance

Properties

binder FlutterWidgetBinder
The widget binder that handles the conversion between data and widgets.
finalinherited
bindingContext FieldBindingContext<bool>
The binding context containing field metadata and validation rules.
finalinherited
errorListenable ValueNotifier<AnnotationResult>
Streaming error notifier for this field.
getter/setter pairinherited
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 setterinherited
initialValue bool?
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
validationTrigger ValidationTrigger
The validation trigger that determines when validation occurs.
getter/setter pairinherited
valueListenable ValueNotifier<bool>
getter/setter pair

Methods

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
focus() → void
Requests focus for this field.
inherited
getValue() bool?
Gets the current value of this field.
override
handleErrors(AnnotationResult result) → void
Handles validation errors for this field.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
performValidation([ValidationTrigger? trigger]) → void
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
reset() → void
Resets this field to its initial state.
inherited
setValue(bool? 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