How to initialize a provider in main, instead of when it is first accessed?

后端 未结 0 1200
粉色の甜心
粉色の甜心 2021-01-01 23:39

I\'ve noticed that if I have code like this:

ChangeNotifierProxyProvider(
  create: (_ctx) => Socket(),
  update: (_ctx, auth, prevSock         


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