onSetText property

SetTextHandler? onSetText
final

The handler for SemanticsAction.setText.

This handler is invoked when the user wants to replace the current text in the text field with a new text.

Voice access users can trigger this handler by speaking type <text> to their Android devices.

Implementation

final SetTextHandler? onSetText;