How to use a provider inside of another provider in Flutter

前端 未结 4 971
遇见更好的自我
遇见更好的自我 2021-02-14 08:21

I want to create an app that has an authentication service with different permissions and functions (e.g. messages) depending on the user role.

So I create

4条回答
  •  攒了一身酷
    2021-02-14 08:36

    Seems like this would be a lot easier with Riverpod, especially the idea of passing a parameter into a .family builder to use the provider class as a cookie cutter for many different versions.

提交回复
热议问题