robiness / go_router_riverpod

An example on how to use Riverpod + GoRouter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go_router_example

A simple login / logout example that showcases the use of Riverpod with GoRouter. This example exploits the usage of ref.listen and a ChangeNotifier to update the Router's decisions.

Please consider starring this mini-repo if you found it useful. If you didn't, or if you want to contribute in any way, a discussion about improving this example can be found here.

About

An example on how to use Riverpod + GoRouter


Languages

Language:Dart 93.7%Language:Swift 3.6%Language:Kotlin 2.3%Language:Objective-C 0.3%