onEditingComplete property
Takes the typed number: pass it to the input's onEditingComplete
(not onSubmitted: Enter takes the number and keeps the focus, as the
web's does). Focus leaving the field takes it too.
Implementation
final VoidCallback onEditingComplete;