selectedText property
String
selectedText
The text currently under selection
Implementation
String get selectedText => selection.textInside(text);
The text currently under selection
String get selectedText => selection.textInside(text);