File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/flutter_tools/templates/create/lib Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class MyApp extends StatelessWidget {
29
29
// reset back to zero -- the application is not restarted.
30
30
primarySwatch: Colors.blue,
31
31
),
32
- home: new MyHomePage(title: 'Flutter Demo'),
32
+ home: new MyHomePage(title: 'Flutter Demo Home Page '),
33
33
);
34
34
}
35
35
}
@@ -71,6 +71,10 @@ class _MyHomePageState extends State<MyHomePage> {
71
71
Widget build(BuildContext context) {
72
72
// This method is rerun every time setState is called, for instance
73
73
// as done by the _incrementCounter method above.
74
+ // The Flutter framework has been optimized to make rerunning
75
+ // build methods fast, so that you can just rebuild anything that
76
+ // needs updating rather than having to individually change
77
+ // instances of widgets.
74
78
return new Scaffold(
75
79
appBar: new AppBar(
76
80
// Here we take the value from the MyHomePage object that
You can’t perform that action at this time.
0 commit comments