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?
Flutter provide a lot of Scrolling Widgets documentation
Example :SingleChildScrollView
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),),),
),);
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With