Answers for "how to scroll screen in flutter"

6

how to make a column scrollable in flutter

return new Container(
  child: new SingleChildScrollView(
    child: new Column(
      children: <Widget>[
        _showChild1(),
        _showChild2(),
        ...
        _showChildN()
      ]
    )
  )
);
Posted by: Guest on September-22-2020
0

how to scroll screen in flutter

// Add SingleChildScrollView or add items in ListView
@override
 Widget build(BuildContext context) {
  return Scaffold(
    appBar: AppBar(
      title: Text('News'),
    ),
    body: SingleChildScrollView(
      child: Column(
        children: <Widget>[
        ],
      ),
    ));
  }
Posted by: Guest on December-23-2020

Code answers related to "how to scroll screen in flutter"

Browse Popular Code Answers by Language