selection_api library Null safety

Selection API

https://w3c.github.io/selection-api/

Classes

Selection
Experimental 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 window.getSelection(). [...]