FormExtension extension

Extension methods on BuildContext for form operations.

on

Methods

getFormValue<T>(FormKey<T> key) → T?

Available on BuildContext, provided by the FormExtension extension

Gets the current value for a form field by key.
submitForm() FutureOr<SubmissionResult>

Available on BuildContext, provided by the FormExtension extension

Submits the form and triggers validation.