cant use listview.builder inside collunmn flutter code example
Example 1: scroll column with listview
SingleChildScrollView(
physics: ScrollPhysics(),
child: Column(
children: <Widget>[
Text('Hey'),
ListView.builder(
physics: NeverScrollableScrollPhysics(),
shrinkWrap: true,
itemCount:18,
itemBuilder: (context,index){
return Text('Some text');
})
],
),
),
Example 2: listview inside column flutter
new Column(
children: <Widget>[
new Expanded(
child: horizontalList,
)
],
);