selectPositionAt abstract method

TextSelection? selectPositionAt({
  1. required Offset from,
  2. required SelectionChangedCause cause,
  3. Offset? to,
})

Returns the new selection. Note that the returned value may not be yet reflected in the latest widget state.

Returns null if no change occurred.

Implementation

TextSelection? selectPositionAt({required Offset from, required SelectionChangedCause cause, Offset? to});