When I click on the text field, the second text field becomes very small
CodePudding user response:
Change the flex value of first expanded widget to 1 instead of 0.
Edit
Remove expanded from both the widgets. In first text field add maxLines : 1 and in second textfield add maxLines : null.
CodePudding user response:
Remove Expanded Widgets from both TextField and Wrap main Column to SingleChildScrollView to avoid getting overFlow errors