Fix GridTileBar layout (#6844)

This commit is contained in:
Hans Muller
2016-11-15 12:01:27 -08:00
committed by GitHub
parent d8e6de8ec7
commit f496ad055a
2 changed files with 12 additions and 12 deletions

View File

@@ -164,10 +164,12 @@ class GridDemoPhotoItem extends StatelessWidget {
appBar: new AppBar(
title: new Text(photo.title)
),
body: new Hero(
tag: photo.tag,
child: new GridPhotoViewer(photo: photo),
)
body: new SizedBox.expand(
child: new Hero(
tag: photo.tag,
child: new GridPhotoViewer(photo: photo),
),
),
);
}
));