Pass and update State Value from other function Flutter Hook Widget

前端 未结 0 1587
没有蜡笔的小新
没有蜡笔的小新 2021-01-20 11:07

I am new to Flutter hooks and I have requirements that I have to use HookWidget instead of StatefulWidget. As I know, useState can only be declared within the build function

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