onSubmitted property
dynamic Function()?
onSubmitted
final
Called when the user submits the field from the keyboard (e.g. pressing "Enter"/"Go"). Lets the parent trigger sign-in without tapping the button.
Implementation
final Function()? onSubmitted;