Merge pull request #77 from chinmaygarde/master

Fix Flutter project template
This commit is contained in:
Adam Barth
2015-10-09 09:38:42 -07:00

View File

@@ -155,7 +155,7 @@ void main() {
class HelloWorldComponent extends StatelessComponent {
Widget build(BuildContext context) {
return new Scaffold(
toolbar: new ToolBar(center: new Text("Flutter Demo")),
toolBar: new ToolBar(center: new Text("Flutter Demo")),
body: new Material(child: new Center(child: new Text("Hello world!"))),
floatingActionButton: new FloatingActionButton(
child: new Icon(type: 'content/add', size: 24)