FocusContextExtensions extension
- on
Properties
- focusScope → FocusScopeNode
-
Available on BuildContext, provided by the FocusContextExtensions extension
Retrieves the FocusScopeNode for the current context.no setter
Methods
-
nextFocus(
) → void -
Available on BuildContext, provided by the FocusContextExtensions extension
Moves the focus to the next focusable widget in the defined traversal order. -
prevFocus(
) → void -
Available on BuildContext, provided by the FocusContextExtensions extension
Moves the focus to the previous focusable widget in the defined traversal order. -
requestFocus(
FocusNode focusNode) → void -
Available on BuildContext, provided by the FocusContextExtensions extension
Requests focus for a specific FocusNode. -
unFocus(
) → void -
Available on BuildContext, provided by the FocusContextExtensions extension
Dismisses the software keyboard and removes the focus from any active text field.