go_router_riverpod
go_router_riverpod copied to clipboard
example of code_gen + FirebaseAuth + UserRole
Would you be so kind to rework the Firebase Auth example to use generation of GoRouter routes, generation of routerProvider and support for UserRoles ?
Very interesting would be to have as similar solution as possible for the dummy auth example and the one using Firebase Auth.
For example to move await FirebaseAuth.instance.signInAnonymously();
into StreamProvider authProvider
.
Sure thing, you're right. I should maintain that example, too. Chances are that code_gen
and firebase
will be the only two example maintained in this repo.
WIP