ContextFocusExtension extension

Provides convenient methods related to focus and keyboard.

on

Properties

isKeyboardVisible bool

Available on BuildContext, provided by the ContextFocusExtension extension

Returns true if the software keyboard is currently visible.
no setter

Methods

hideKeyboard() → void

Available on BuildContext, provided by the ContextFocusExtension extension

Hides the software keyboard.
nextFocus() → void

Available on BuildContext, provided by the ContextFocusExtension extension

Requests focus for the next focusable node.
previousFocus() → void

Available on BuildContext, provided by the ContextFocusExtension extension

Requests focus for the previous focusable node.
requestFocus() → void

Available on BuildContext, provided by the ContextFocusExtension extension

Requests focus for this context's node.
unfocus() → void

Available on BuildContext, provided by the ContextFocusExtension extension

Unfocuses the currently focused node.