onSubmitted property

FutureOr<void> Function(TextFieldState)? onSubmitted
final

Callback, called when the text is submitted.

This callback is fired only when the text value was not yet submitted:

Implementation

final FutureOr<void> Function(TextFieldState)? onSubmitted;