useContext can only be called from the build method of HookWidget

前端 未结 0 1594
余生分开走
余生分开走 2021-01-05 10:23

I am creating a simple single value program in Riverpod. There is a floating action button which on click increments the counter value.

Here\'s the MyHomePage

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