Home > Enterprise >  Text field becomes very small
Text field becomes very small

Time:07-06

When I click on the text field, the second text field becomes very small Here is GIF:

Here is the first code:

Here is the second code:

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

  • Related