focusNode method

NikuButton focusNode(
  1. FocusNode focusNode
)

An object that can be used by a stateful widget to obtain the keyboard focus and to handle keyboard events

Equivalent to

TextButton(
  focusNode: input
)

Implementation

NikuButton focusNode(FocusNode focusNode) {
  this._focusNode = focusNode;

  return this;
}