Merge pull request #2109 from collinjackson/no_material
Remove redundant Material from start project
This commit is contained in:
@@ -275,12 +275,10 @@ 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(
|
||||||
|
|||||||
Reference in New Issue
Block a user