3

It seems text/richtext only support one page, if the content exceed the screen, you can't scroll up/down. Is there an easy way to enable it? Or I have to use the Scrolling Widgets?

camino
  • 8,673
  • 19
  • 53
  • 94

1 Answers1

5

Flutter provide a lot of Scrolling Widgets documentation

Example :SingleChildScrollView

enter image description here

class mytext extends StatelessWidget {
var randomtext="....";
@override
Widget build(BuildContext context) {
return new Container(child: new Scaffold(
  appBar: new AppBar(),
  body: new SingleChildScrollView(child: 
    new Text(randomtext,style: new TextStyle(fontSize: 30.0),),),
),);
 }
}
Raouf Rahiche
  • 19,896
  • 8
  • 66
  • 66