Our great sponsors
-
get_it
Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
here is the link to the plugin GitHub if you want to check it: https://github.com/JakubWasilczyk/flutter_mvrs I will publish it soon if I made enough tests myself on it. There is also a flutter_mvrs_firebase that makes it way easier to communicate with firebase using the above models as you can get the model, change its field and pass it to the repository that saves it.
It works with Dependency Injection (so you will need injectable and get_it).
I've created one myself that works for now really really well, created some of the help packages that generate code (will release them soon on pub.dev), I call it MVRS (Model View Repository Service).