mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
Merge pull request #1412 from abarth/fix_container
examples/widgets/container.dart does not display the buttons
This commit is contained in:
commit
92e0092cae
|
@ -18,19 +18,21 @@ class ContainerApp extends StatelessComponent {
|
|||
height: 300.0
|
||||
)
|
||||
),
|
||||
new Container(
|
||||
decoration: new BoxDecoration(backgroundColor: const Color(0xFFFFFF00)),
|
||||
padding: new EdgeDims.symmetric(horizontal: 50.0, vertical: 75.0),
|
||||
child: new Row(
|
||||
children: <Widget>[
|
||||
new RaisedButton(
|
||||
child: new Text('PRESS ME'),
|
||||
onPressed: () => print("Hello World")
|
||||
),
|
||||
new RaisedButton(
|
||||
child: new Text('DISABLED')
|
||||
)
|
||||
]
|
||||
new Material(
|
||||
color: const Color(0xFFFFFF00),
|
||||
child: new Container(
|
||||
padding: new EdgeDims.symmetric(horizontal: 50.0, vertical: 75.0),
|
||||
child: new Row(
|
||||
children: <Widget>[
|
||||
new RaisedButton(
|
||||
child: new Text('PRESS ME'),
|
||||
onPressed: () => print("Hello World")
|
||||
),
|
||||
new RaisedButton(
|
||||
child: new Text('DISABLED')
|
||||
)
|
||||
]
|
||||
)
|
||||
)
|
||||
),
|
||||
new Flexible(
|
||||
|
|
Loading…
Reference in a new issue