performAction method

  1. @override
void performAction(
  1. TextInputAction action
)
override

Implemented from TextInputClient

Implementation

@override
void performAction(TextInputAction action) {
  if (widget.onInputAction != null) {
    widget.onInputAction!.call(action);
  } else {
    _focusNode!.unfocus();
  }
}