Merge pull request #2685 from abarth/override_template
Add @override to starter template
This commit is contained in:
commit
7012d5223b
@ -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> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return new Scaffold(
|
return new Scaffold(
|
||||||
appBar: new AppBar(
|
appBar: new AppBar(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user