SelectionChangedHandler typedef Null safety

  1. @Deprecated('Signature of a deprecated class method, ' 'textSelectionDelegate.userUpdateTextEditingValue. ' 'This feature was deprecated after v1.26.0-17.2.pre.')
SelectionChangedHandler = void Function(TextSelection selection, RenderEditable renderObject, SelectionChangedCause cause)

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

Used by RenderEditable.onSelectionChanged.

Implementation

@Deprecated(
  'Signature of a deprecated class method, '
  'textSelectionDelegate.userUpdateTextEditingValue. '
  'This feature was deprecated after v1.26.0-17.2.pre.',
)
typedef SelectionChangedHandler = void Function(TextSelection selection, RenderEditable renderObject, SelectionChangedCause cause);