onCancel method

void onCancel()

Implementation

void onCancel() {
  commandTextEditor.clear();
  _controller.sink.add(false);
}