3
 @override
  Widget build(BuildContext context) {
    new Scaffold(
      appBar: new AppBar(title: new Text("Demo Project")),
      body: new Padding(
        padding: new EdgeInsets.all(10.0),
        child: new Column(
          children: <Widget>[
            new ListView(children: getDemolist()),
            new ListView(children: getDemolisttwo())
          ],
        ),
      ),
    );
  }

All two list view will display in same area in responsive way.

Nehil Koshiya
  • 1
  • 2
  • 6
  • 23

1 Answers1

6

Use Flexible and you can change flex property in it, just like Expanded.

Column(
  children: <Widget>[
    Flexible(child: getDemolist()),
    Flexible(child: getDemolisttwo()),
  ],
)
Nehil Koshiya
  • 1
  • 2
  • 6
  • 23