Callback, called when a selection of the text starts or ends.
final void Function(bool)? onSelecting;