Fix Flutter project template

This commit is contained in:
Chinmay Garde 2015-10-07 11:26:55 -07:00
parent fbb1f866d4
commit d92f3fedde

View file

@ -155,7 +155,7 @@ void main() {
class HelloWorldComponent extends StatelessComponent { class HelloWorldComponent extends StatelessComponent {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return new Scaffold( 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!"))), body: new Material(child: new Center(child: new Text("Hello world!"))),
floatingActionButton: new FloatingActionButton( floatingActionButton: new FloatingActionButton(
child: new Icon(type: 'content/add', size: 24) child: new Icon(type: 'content/add', size: 24)