Answers for "form in flutter with scrollbar"

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

Browse Popular Code Answers by Language