flutter: provider dosen't work in statefulwidget

后端 未结 0 1295
深忆病人
深忆病人 2020-12-24 11:34

I create a new flutter demo and modify it to use the provider package. But it doesn\'t work. And here is my code.

class MyState {
  MyState();
  int cnt = 0;
         


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