selectWord method

void selectWord({
  1. required SelectionChangedCause cause,
})

Select a word around the location of the last tap down.

Implementation

void selectWord({required SelectionChangedCause cause}) {
  selectWordsInRange(from: _lastTapDownPosition!, cause: cause);
}