浏览代码

test push

tyler 2 年之前
父节点
当前提交
e9e3fcc560
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/main.dart

+ 1 - 1
lib/main.dart

@@ -64,7 +64,7 @@ class _MyHomePageState extends State<MyHomePage> {
       // 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 += 2;
+      _counter++;
     });
   }