Skip to content

Instantly share code, notes, and snippets.

View karanvs's full-sized avatar

Karanveer karanvs

View GitHub Profile
@karanvs
karanvs / gist:44599464f72988b138f5bc783f423b07
Created July 7, 2017 07:24
A solution to putting multiple ListViews inside a ScrollView in Flutter
return new Scaffold(
appBar: new AppBar(
title: new Text("Project Details"),
backgroundColor: Colors.blue[800]),
body:
new CustomScrollView(
slivers: <Widget>[
new SliverPadding(padding: const EdgeInsets.only(left: 10.0,right: 10.0,
top: 10.0,bottom: 0.0),
sliver: new SliverList(delegate: