Commit 92e0092c authored by Adam Barth's avatar Adam Barth

Merge pull request #1412 from abarth/fix_container

examples/widgets/container.dart does not display the buttons
parents f0a62d64 4aac3401
...@@ -18,19 +18,21 @@ class ContainerApp extends StatelessComponent { ...@@ -18,19 +18,21 @@ class ContainerApp extends StatelessComponent {
height: 300.0 height: 300.0
) )
), ),
new Container( new Material(
decoration: new BoxDecoration(backgroundColor: const Color(0xFFFFFF00)), color: const Color(0xFFFFFF00),
padding: new EdgeDims.symmetric(horizontal: 50.0, vertical: 75.0), child: new Container(
child: new Row( padding: new EdgeDims.symmetric(horizontal: 50.0, vertical: 75.0),
children: <Widget>[ child: new Row(
new RaisedButton( children: <Widget>[
child: new Text('PRESS ME'), new RaisedButton(
onPressed: () => print("Hello World") child: new Text('PRESS ME'),
), onPressed: () => print("Hello World")
new RaisedButton( ),
child: new Text('DISABLED') new RaisedButton(
) child: new Text('DISABLED')
] )
]
)
) )
), ),
new Flexible( new Flexible(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment