how to add listview in column in 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,
    )
  ],
);

Tags:

Misc Example