focusNode property

FocusNode focusNode

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.


final FocusNode focusNode