TextFormField in flutter pops the page instead of dismissing the keyboard on backbutton

22 Views Asked by At

So in my flutter code i have a custom text form field and whenever i try to press back button to dismiss the page it pops that page.

I noticed it only appears if theres a previous page to pop to
if not it simply close the keyboard

I tried setting a will pop scope but didn't work

0

There are 0 best solutions below