When I'm typing textform field, submit button should be shown under keyboard.
Asked
Active
Viewed 308 times
-1
-
Did you set resizeToAvoidBottomInset to false? – Ahmad Raza Mar 16 '22 at 07:48
-
As far I know this is not possible and it is an unexpected behavior. – Zakaria Hossain Mar 16 '22 at 08:37
1 Answers
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