Here is what I’m trying to achieve:
On a smaller device, where all the input fields can’t be
displayed on a single page, the form should be like this:
But on a bigger screen, where all the Input fields
can be displayed on one page, I want it to be like this:
(Notice the spacing between the button and the last input
field should be dynamic, so that even on tablets the button
will be on the bottom of the screen)
Also, of course, I don’t want the keyboard to cause overflows, or make the input fields not accessible, I have tried many things, and I haven’t found a way to achieve it, even though it seems to be a simple problem.
2
Answers
You can wrap your code with
SingleChildScrollView
widget that will allow you to scroll to the bottom without overflow and UI will be responsive.For more details checkout: this
Try the following code: