Results for “FocusNode”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Understanding Flutter's keyboard focus systemdoc
that there is some confusion among developers about how to define and use FocusNode objects. If that describes your experience, skip ahead to the best practices
- Focus and text fieldsdoc
How focus works with text fields. When a text field is selected
- User inputdoc
Accept input from the user with buttons and text fields. Learn to
- Stateful widgetsdoc
Learn about StatefulWidgets and rebuilding Flutter UI. Learn when widgets need to
API reference
- FocusNodeclass
stateful widget to obtain the keyboard focus and to handle keyboard events. widgets.FocusNode FocusNode Focus Node class widgets
- FocusNode.newconstructor
Creates a focus node. widgets.FocusNode.FocusNode.new FocusNode new Focus Node.new constructor widgets
- FocusAttachmentclass
attachment point for a FocusNode. widgets.FocusAttachment FocusAttachment Focus Attachment class widgets
- RequestFocusIntentclass
intent for use with the RequestFocusAction, which supplies the FocusNode that should be focused. widgets.RequestFocusIntent RequestFocusIntent Request Focus Intent class widgets
- Focusclass
widget that manages a FocusNode to allow keyboard focus to be given to this widget and its descendants. widgets.Focus Focus Focus class widgets
- FocusScopeNodeclass
subclass of FocusNode that acts as a scope for its descendants, maintaining information about which descendant is currently or was last focused. widgets.FocusScopeNode FocusScopeNode Focus Scope Node
- widgets.UnfocusDispositionenum
Describe what should happen after FocusNode.unfocus is called. widgets.UnfocusDisposition UnfocusDisposition Unfocus Disposition enum widgets
- Focus.newconstructor
Creates a widget that manages a FocusNode. widgets.Focus.Focus.new Focus new Focus.new constructor widgets
- Focus.withExternalFocusNodeconstructor
Creates a Focus widget that uses the given focusNode as the source of truth for attributes on the node, rather than the attributes of this widget. widgets.Focus.Focus.withExternalFocusNode
Version changes
- feat: Added FocusNode prop for DropdownMenu Trailing Icon Button3.38.0new-feature
feat: Added FocusNode prop for DropdownMenu Trailing Icon Button (Material, by @AlsoShantanuBorkar). FocusNode DropdownMenu
- Migrate RawKeyEvent/RawKeyboard system to KeyEvent/HardwareKeyboard system3.19.0breaking
For some time now (years), Flutter has had two key event systems
- Deprecated API removed after v3.163.19.0removed
OutlinedButton ButtonStyle TextButton.styleFrom ElevatedButton.styleFrom OutlinedButton.styleFrom ThemeData NavigatorState FocusScopeNode Navigator FocusScope WidgetsApp FocusNode FocusNode.enclosingScope PlatformMenuBar TextTheme WidgetInspectorService WidgetInspectorServiceExtensions
- Migrate ShortcutActivator and ShortcutManager to KeyEvent system3.16.0breaking
using `Focus.onKeyEvent` instead of `Focus.onKey`, or a similar change if using `FocusScope`, `FocusNode` or `FocusScopeNode`. If you're using a `RawKeyboardListener`, switch to using a `KeyboardListener` instead
- Actions API revision1.20.0breaking
In Flutter an `Intent` is an object that's typically bound to