Commit b1bc660c authored by Adam Barth's avatar Adam Barth

Add @override to starter template

parent b74856ce
...@@ -20,6 +20,7 @@ void main() { ...@@ -20,6 +20,7 @@ void main() {
} }
class FlutterDemo extends StatefulWidget { class FlutterDemo extends StatefulWidget {
@override
_FlutterDemoState createState() => new _FlutterDemoState(); _FlutterDemoState createState() => new _FlutterDemoState();
} }
...@@ -32,6 +33,7 @@ class _FlutterDemoState extends State<FlutterDemo> { ...@@ -32,6 +33,7 @@ class _FlutterDemoState extends State<FlutterDemo> {
}); });
} }
@override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return new Scaffold( return new Scaffold(
appBar: new AppBar( appBar: new AppBar(
......
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