diff --git a/lib/main.dart b/lib/main.dart index bb91184..12c15af 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -64,7 +64,7 @@ class _MyHomePageState extends State { // so that the display can reflect the updated values. If we changed // _counter without calling setState(), then the build method would not be // called again, and so nothing would appear to happen. - _counter++; + _counter = _counter + 2; }); }