Dart
dart:html
Window
getSelection method
description
getSelection method
Selection
getSelection
(
)
Returns the currently selected text.
Other resources
Window.getSelection
from MDN.
Implementation
Selection getSelection() native;