If you want to scroll page in flutter? Wrap your widget tree inside a SingleChildScrollView
. Use the below example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | body: SingleChildScrollView( child: Stack( children: <Widget>[ new Container( decoration: BoxDecoration( image: DecorationImage(...), new Column(children: [ new Container(...), new Container(...... ), new Padding( child: SizedBox( child: RaisedButton(..), ), .... ... ); // Single child scroll view |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.