Flutter: What happens if “setState” is called after changing the state?

后端 未结 0 1434
清歌不尽
清歌不尽 2021-01-14 07:22

In the following example:

setState(() {
    _counter++;
  });

What happens if I increase the counter before calling setState()?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题