ObjectFormHandler<T> class
abstract
Abstract interface for controlling an object form field's state.
ObjectFormHandler provides methods to interact with an object form field, including getting/setting values and controlling the editor visibility.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T?
-
Gets the current value.
getter/setter pair
Methods
-
close(
) → Future< void> - Closes the editor.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prompt(
[T? value]) → void - Opens the editor with an optional initial value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
find<
T> (BuildContext context) → ObjectFormHandler< T> - Finds the ObjectFormHandler in the widget tree (alternative method).
-
of<
T> (BuildContext context) → ObjectFormHandler< T> - Finds the ObjectFormHandler in the widget tree.