FormProviderExtension extension
Extends the BuildContext
class with the ability
to perform a lookup based on a Bloc
type.
- on
Methods
-
form<
C extends FormManager> () → C -
Available on BuildContext, provided by the FormProviderExtension extension
Performs a lookup using theBuildContext
to obtain the nearest ancestorFormManager
of typeC
.