Home > Net >  How to make screen scrollable in flutter?
How to make screen scrollable in flutter?

Time:10-09

I have flexible text widget at the top of screen in which will be some text that may be really big. If text in it become really big user might scroll the screen down to find other widgets on this screen

Right now if text become big my other widgets will move down, but screen will be same size

enter image description here

CodePudding user response:

Wrape your text with SingleChildScrollView and then add this line

 scrollDirection: Axis.horizontal,
  • Related