csells / go_router

The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
https://gorouter.dev
441 stars 96 forks source link

Support for flutter_riverpod #373

Closed rddewan closed 2 years ago

rddewan commented 2 years ago

Is there any support to use it with flutter_riverpod.

RandalSchwartz commented 2 years ago

What doesn't work with riverpod?

rddewan commented 2 years ago

refresh listener and redirect does not work it keeps on looping

csells commented 2 years ago

Can you provide a minimal repro project?

rddewan commented 2 years ago

Here is the sample project i am working with on Flutter Riverpod and go_router. Every thing works good except just want to listen to logout state notifier https://github.com/rddewan/flutter-note