onDeselection property

VoidCallback? onDeselection
final

Callback when text selection is cleared.

Fired when the user taps elsewhere or explicitly clears the selection. Use this to hide any custom selection UI.

Implementation

final VoidCallback? onDeselection;