MyoroFormNotifier<T> class
Notifier of MyoroForm.
- Inheritance
-
- Object
- ChangeNotifier
- ValueNotifier<
MyoroRequest< T> > - MyoroRequestNotifier<
T> - MyoroFormNotifier
Constructors
-
MyoroFormNotifier.new({MyoroFormConfiguration<
T> ? configuration})
Properties
-
configuration
→ MyoroFormConfiguration<
T> ? -
Configuration.
final
- data → T?
-
no setterinherited
- errorMessage → String?
-
no setterinherited
-
formKey
→ GlobalKey<
FormState> -
_formKey
getter.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
-
request
→ MyoroRequest<
T> -
no setterinherited
-
requestCallback
↔ MyoroRequestNotifierRequest<
T> ? -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → MyoroRequestEnum
-
no setterinherited
-
value
↔ MyoroRequest<
T> -
The current value stored in this notifier.
getter/setter pairinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Dispose function.
inherited
-
fetch(
) → Future< void> -
Starts the form process.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited