Add more dartdoc to material.dart (#3261)

Now past halfway though material.dart by files.
This commit is contained in:
Adam Barth
2016-04-12 12:41:59 -07:00
parent 2f60932df9
commit 69f994446b
14 changed files with 164 additions and 26 deletions

View File

@@ -124,7 +124,7 @@ class FlexibleSpaceDemoState extends State<FlexibleSpaceDemo> {
],
flexibleSpace: new FlexibleSpaceBar(
title : new Text('Ali Connors'),
image: new AssetImage(
background: new AssetImage(
name: 'packages/flutter_gallery_assets/ali_connors.png',
fit: ImageFit.cover,
height: _appBarHeight

View File

@@ -84,8 +84,8 @@ class GalleryHomeState extends State<GalleryHome> {
appBar: new AppBar(
expandedHeight: _kFlexibleSpaceMaxHeight,
flexibleSpace: new FlexibleSpaceBar(
image: new GalleryHeader(),
title: new Text("Flutter gallery")
title: new Text("Flutter gallery"),
background: new GalleryHeader()
)
),
scrollableKey: _listKey,