Home > other >  How to make TextFormField responsive on flutter for web apps?
How to make TextFormField responsive on flutter for web apps?

Time:10-11

I' am trying to make TextFormFields, that are next to each other in a row, responsive stacking them over each other like columns when the window shrinks.

CodePudding user response:

Use the Wrap widget, it breaks into the next line if there is no more space

https://api.flutter.dev/flutter/widgets/Wrap-class.html

CodePudding user response:

You could use the Wrap widget, it works similarly to the Row widget but this time when there is no more space available, it automatically shifts to the next line.

Here is a link to the Flutter documentation for the Wrap widget

  • Related