selection_api library Null safety
This is an experimental technologyCheck the Browser
compatibility table carefully before using this in production.
A Selection object represents the range of text selected by
the user or the current position of the caret. To obtain a object
for examination or manipulation, call