Rename and refactor ScrollView hierarchy (#7865)

This prepares us for a CustomScrollView that takes slivers.
This commit is contained in:
Ian Hickson
2017-02-03 16:05:43 -08:00
committed by GitHub
parent 7fea0593f5
commit 332a23030b
49 changed files with 363 additions and 167 deletions

View File

@@ -588,7 +588,7 @@ class GalleryDrawer extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Drawer(
child: new ScrollView(
child: new ListView(
children: <Widget>[
new FancyDrawerHeader(),
new DrawerItem(

View File

@@ -123,7 +123,7 @@ class CardCollectionState extends State<CardCollection> {
return new Drawer(
child: new IconTheme(
data: const IconThemeData(color: Colors.black),
child: new ScrollView(
child: new ListView(
children: <Widget>[
new DrawerHeader(child: new Center(child: new Text('Options'))),
buildDrawerCheckbox("Make card labels editable", _editable, _toggleEditable),

View File

@@ -84,7 +84,7 @@ class PageableListAppState extends State<PageableListApp> {
Widget _buildDrawer() {
return new Drawer(
child: new ScrollView(
child: new ListView(
children: <Widget>[
new DrawerHeader(child: new Center(child: new Text('Options'))),
new DrawerItem(