focusNode property
Defines the keyboard focus for this widget. To give the keyboard focus to this widget, provide a focusNode and then use the current FocusScope to request the focus:
Implementation
final FocusNode? focusNode;
Defines the keyboard focus for this widget. To give the keyboard focus to this widget, provide a focusNode and then use the current FocusScope to request the focus:
final FocusNode? focusNode;