onSelectionChanged property Null safety

SelectionChangedCallback? onSelectionChanged
final

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

Implementation

final SelectionChangedCallback? onSelectionChanged;