TextSelectionChangedHandler typedef
TextSelectionChangedHandler =
void Function(TextSelection selection, SelectionChangedCause cause)
Signature for the callback that reports when the user changes the selection (including the cursor location).
Used by RenderEditor.onSelectionChanged.
Implementation
typedef TextSelectionChangedHandler = void Function(
TextSelection selection, SelectionChangedCause cause);