focusNode property

FocusNode focusNode
final

An optional focus node to use for requesting focus when pressed.

If not supplied, the button will create and host its own FocusNode.

If supplied, the given focusNode will be hosted by this widget. See FocusNode for more information on what that implies.

Implementation

final FocusNode focusNode