-1

enter image description hereWhen I'm typing textform field, submit button should be shown under keyboard.

1 Answers1

0

Try using textInputAction parameter in TextField or TextFormField. I am not sure textInputAction works if keyboardType is TextInputType.number.

Here is a sample code:

TextField(
   textInputAction: TextInputAction.send,
   keyboardType: TextInputType.number
 )
Ranjit Shrestha
  • 622
  • 6
  • 24