onSelectionChanged method

void onSelectionChanged(
  1. TextSelection selection
)

Called when the text field's selection changes.

Override to respond to selection changes.

Implementation

void onSelectionChanged(TextSelection selection) {}