onSelectionChanged property Null safety

SelectionChangedHandler? onSelectionChanged
@Deprecated('Uses the textSelectionDelegate.userUpdateTextEditingValue instead. ' 'This feature was deprecated after v1.26.0-17.2.pre.'), read / write

Called when the selection changes.

If this is null, then selection changes will be ignored.

Implementation

@Deprecated(
  'Uses the textSelectionDelegate.userUpdateTextEditingValue instead. '
  'This feature was deprecated after v1.26.0-17.2.pre.',
)
SelectionChangedHandler? onSelectionChanged;