Remove redundant Material from project created by flutter create

This commit is contained in:
Collin Jackson
2016-02-23 11:18:38 -08:00
parent 3f8fdb661f
commit 8ab9a8fe03

View File

@@ -275,12 +275,10 @@ class _FlutterDemoState extends State<FlutterDemo> {
toolBar: new ToolBar(
center: new Text('Flutter Demo')
),
body: new Material(
child: new Center(
child: new Text(
'Button tapped $_counter times.',
key: const ValueKey('counter')
)
body: new Center(
child: new Text(
'Button tapped $_counter times.',
key: const ValueKey('counter')
)
),
floatingActionButton: new FloatingActionButton(