Commit 8ab9a8fe authored by Collin Jackson's avatar Collin Jackson

Remove redundant Material from project created by flutter create

parent 3f8fdb66
...@@ -275,13 +275,11 @@ class _FlutterDemoState extends State<FlutterDemo> { ...@@ -275,13 +275,11 @@ class _FlutterDemoState extends State<FlutterDemo> {
toolBar: new ToolBar( toolBar: new ToolBar(
center: new Text('Flutter Demo') center: new Text('Flutter Demo')
), ),
body: new Material( body: new Center(
child: new Center(
child: new Text( child: new Text(
'Button tapped $_counter times.', 'Button tapped $_counter times.',
key: const ValueKey('counter') key: const ValueKey('counter')
) )
)
), ),
floatingActionButton: new FloatingActionButton( floatingActionButton: new FloatingActionButton(
key: const ValueKey('fab'), key: const ValueKey('fab'),
......
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