diff --git a/packages/flutter_tools/templates/create/lib/main.dart.tmpl b/packages/flutter_tools/templates/create/lib/main.dart.tmpl index 2667917b6c..e33543b456 100644 --- a/packages/flutter_tools/templates/create/lib/main.dart.tmpl +++ b/packages/flutter_tools/templates/create/lib/main.dart.tmpl @@ -69,6 +69,8 @@ class _MyHomePageState extends State { @override Widget build(BuildContext context) { + // This method is rerun every time setState is called, for instance + // as done by the _incrementCounter method above. return new Scaffold( appBar: new AppBar( // Here we take the value from the MyHomePage object that