Called when the user indicates they are done editing the text.
final ValueChanged<String>? onSubmitted;