Answers for "how to make a scrollable row in flutter"

2

flutter scrollable row

SingleChildScrollView(
  scrollDirection: Axis.horizontal,
  child: Row(
   children: <Widget>[
     Text('hi'),
     Text('hi'),
     Text('hi'),
   ]
  )
)
Posted by: Guest on January-07-2021
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

Code answers related to "how to make a scrollable row in flutter"

Browse Popular Code Answers by Language