Changing Riverpod ref.read to ref.watch causes a PageView PageController to have no pages and unhandled error

后端 未结 0 965
情深已故
情深已故 2021-02-14 10:47

In my code, if I change :

itemType: ref.read(veganItemTypeProvider.state),
itemTypeStateNotifier: ref.read(veganItemTypeProvider),

to:

<         


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