FormControlRegistration class abstract interface

Registration contract for value controls inside a form field.

Application code normally uses FormField. Custom controls can implement this contract through fleury_widget_support.dart. It lives in core so controls such as TextInput can participate without depending on the bundled catalog.

Implementers

Properties

error → String?
The error currently exposed by the enclosing field.
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

claim(Object control, {required FocusNode focusNode, required bool enabled, String? validationError}) → void
Claims this field for one logical value control.
controlValueChanged(Object control) → void
Reports that the app-owned value represented by this control changed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release(Object control) → void
Releases a previously claimed field.
toString() → String
A string representation of this object.
inherited
updateClaim(Object control, {required FocusNode focusNode, required bool enabled, String? validationError}) → void
Updates a control claim after focus, enabled, or intrinsic error changes.

Operators

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