ExtendedBuildContext extension
- on
Methods
-
clearFocus(
) → void -
Available on BuildContext, provided by the ExtendedBuildContext extension
Clear current context focus. This is the cleanest, official way. -
validateForm(
{VoidCallback? onSuccess, bool scrollToFirstInvalid = false}) → void -
Available on BuildContext, provided by the ExtendedBuildContext extension
Validate the enclosing Form. IfscrollToFirstInvalidis true and validation fails, scrolls to the first invalid field.