void SelectionChangedHandler(TextSelection selection, RenderEditable renderObject, bool longPress)

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

Used by RenderEditable.onSelectionChanged.

Source

typedef void SelectionChangedHandler(TextSelection selection, RenderEditable renderObject, bool longPress);