NodeFlowKeyboardHandler<T> constructor
const
NodeFlowKeyboardHandler<T> ({
- Key? key,
- required NodeFlowController<
T> controller, - required Widget child,
- bool autofocus = true,
- FocusNode? focusNode,
Creates a keyboard handler for NodeFlow.
Parameters:
controller: The NodeFlow controller containing the shortcuts and actionschild: The widget to wrap with keyboard handlingautofocus: Whether to automatically request focus (default: true)focusNode: Optional custom focus node; if null, one will be created
Implementation
const NodeFlowKeyboardHandler({
super.key,
required this.controller,
required this.child,
this.autofocus = true,
this.focusNode,
});