mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #2109 from collinjackson/no_material
Remove redundant Material from start project
This commit is contained in:
commit
263e2e7ff3
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user