SelectionChangedHandler typedef

void SelectionChangedHandler (
  1. TextSelection selection,
  2. RenderEditable renderObject,
  3. SelectionChangedCause cause
)

Signature for the callback that reports when the user changes the selection (including the cursor location).

Used by RenderEditable.onSelectionChanged.

Implementation

typedef SelectionChangedHandler = void Function(TextSelection selection, RenderEditable renderObject, SelectionChangedCause cause);