TextSelectionChangedHandler typedef Null safety

TextSelectionChangedHandler = void Function(TextSelection selection, SelectionChangedCause cause)

create by zmtzawqlp on 2019/8/1

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

Used by ExtendedRenderEditable.onSelectionChanged.

Implementation

typedef TextSelectionChangedHandler = void Function(
    TextSelection selection, SelectionChangedCause cause);