Called when the user submits the text (e.g. presses "done").
final ValueChanged<String>? onSubmitted;