clearSelection method

TextLineStateSnapshot clearSelection({
  1. TextPosition? cursor,
})

Implementation

TextLineStateSnapshot clearSelection({TextPosition? cursor}) {
  return TextLineStateSnapshot.collapsed(cursor: cursor ?? this.cursor);
}