Merge pull request #714 from abarth/stack_squish

Stack squishes positioned elements near the edge
This commit is contained in:
Adam Barth
2015-08-20 11:25:35 -07:00
2 changed files with 3 additions and 11 deletions

View File

@@ -76,6 +76,8 @@ class CardCollectionApp extends App {
// background (text and icons) will just be clipped, not resized.
Widget background = new Positioned(
top: 0.0,
right: 0.0,
bottom: 0.0,
left: 0.0,
child: new Container(
margin: const EdgeDims.all(4.0),