ContextFormx extension
Extension for BuildContext to access the main FormState.
- on
Methods
-
debugForm(
String key) → void -
Available on BuildContext, provided by the ContextFormx extension
Debugs the FormState of this BuildContext. -
field<
T> (String key) → FormFieldState< T> -
Available on BuildContext, provided by the ContextFormx extension
Gets the FormFieldState of typeTbykey. -
fill(
String key, Map< String, dynamic> map, {bool format = true}) → void -
Available on BuildContext, provided by the ContextFormx extension
Fills this FormState with newmap. -
formx(
String key) → FormxState -
Available on BuildContext, provided by the ContextFormx extension
The main FormxState of this BuildContext. -
submit(
String key, {FormxOptions? options, String? errorMessage, List< String> ? keys}) → Map<String, dynamic> -
Available on BuildContext, provided by the ContextFormx extension
Submits the FormState of this BuildContext. x -
trySubmit(
String key, {FormxOptions? options, List< String> ? keys}) → Map<String, dynamic> ? -
Available on BuildContext, provided by the ContextFormx extension
Submits the FormState of this BuildContext.