onSubmitted property
Callback invoked when the user submits the text (e.g., presses Enter).
The callback receives the current text content as a parameter. This is typically used to handle form submission or trigger actions when the user finishes entering text.
Implementation
final ValueChanged<String>? onSubmitted;