Merge pull request #2685 from abarth/override_template

Add @override to starter template
This commit is contained in:
Adam Barth 2016-03-14 15:17:02 -07:00
commit 7012d5223b

View File

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