TextSelectionOverlayChanged typedef

void TextSelectionOverlayChanged (TextEditingValue value, Rect caretRect)

Signature for reporting changes to the selection component of a TextEditingValue for the purposes of a TextSelectionOverlay. The caretRect argument gives the location of the caret in the coordinate space of the RenderBox given by the TextSelectionOverlay.renderObject.

Used by TextSelectionOverlay.onSelectionOverlayChanged.

Implementation

typedef TextSelectionOverlayChanged = void Function(TextEditingValue value, Rect caretRect);