EnumBindingFieldController class
- Inheritance
-
- Object
- ChangeNotifier
- FieldBindingController<
String> - EnumBindingFieldController
Constructors
-
EnumBindingFieldController(FieldBindingParent parent, FlutterWidgetBinder binder, FieldBindingContext<
String> bindingContext, EnumConverter converter)
Properties
- binder → FlutterWidgetBinder
-
The widget binder that handles the conversion between data and widgets.
finalinherited
-
bindingContext
→ FieldBindingContext<
String> -
The binding context containing field metadata and validation rules.
finalinherited
- converter → EnumConverter
-
final
-
errorListenable
↔ ValueNotifier<
AnnotationResult> -
Streaming error notifier for this field.
getter/setter pairinherited
- focusNode → FocusNode
-
final
- 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 ↔ String?
-
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
- value ↔ String?
-
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(
) → String? -
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(
String? 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