Commit e1d9468d authored by Dan Rubel's avatar Dan Rubel Committed by GitHub

update template so that it formats correctly (#5493)

parent 9efb1685
...@@ -13,10 +13,10 @@ void main() { ...@@ -13,10 +13,10 @@ void main() {
new MaterialApp( new MaterialApp(
title: 'Flutter Demo', title: 'Flutter Demo',
theme: new ThemeData( theme: new ThemeData(
primarySwatch: Colors.blue primarySwatch: Colors.blue,
), ),
home: new FlutterDemo() home: new FlutterDemo(),
) ),
); );
} }
...@@ -40,16 +40,16 @@ class _FlutterDemoState extends State<FlutterDemo> { ...@@ -40,16 +40,16 @@ class _FlutterDemoState extends State<FlutterDemo> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return new Scaffold( return new Scaffold(
appBar: new AppBar( appBar: new AppBar(
title: new Text('Flutter Demo') title: new Text('Flutter Demo'),
), ),
body: new Center( body: new Center(
child: new Text('Button tapped $_counter time${ _counter == 1 ? '' : 's' }.') child: new Text('Button tapped $_counter time${ _counter == 1 ? '' : 's' }.'),
), ),
floatingActionButton: new FloatingActionButton( floatingActionButton: new FloatingActionButton(
onPressed: _incrementCounter, onPressed: _incrementCounter,
tooltip: 'Increment', tooltip: 'Increment',
child: new Icon(Icons.add) child: new Icon(Icons.add),
) ),
); );
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment