onSelectionChanged property

void Function(TextSelection, SelectionChangedCause?)? onSelectionChanged
final

Called when the user changes the selection of text (including the cursor location).

Implementation

final void Function(TextSelection, SelectionChangedCause?)?
    onSelectionChanged;