onSubmit property
Called when the user submits (enter). Receives the input text.
Implementation
final void Function(String value)? onSubmit;
Called when the user submits (enter). Receives the input text.
final void Function(String value)? onSubmit;