1. override
void hideToolbar()

Hides the text selection toolbar.

Source

@override
void hideToolbar() {
  hide();
}