From 8ab9a8fe0321efa0c26b866ab23888f3e671c4a4 Mon Sep 17 00:00:00 2001 From: Collin Jackson Date: Tue, 23 Feb 2016 11:18:38 -0800 Subject: [PATCH] Remove redundant Material from project created by flutter create --- packages/flutter_tools/lib/src/commands/create.dart | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/create.dart b/packages/flutter_tools/lib/src/commands/create.dart index 82772483395..f746de5efd3 100644 --- a/packages/flutter_tools/lib/src/commands/create.dart +++ b/packages/flutter_tools/lib/src/commands/create.dart @@ -275,12 +275,10 @@ class _FlutterDemoState extends State { 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(