← All projects

pod_router

by @1FarZ1

18

Seamlessly integrate Go Router and Riverpod with authentication, app flow, and more!

About this project

podrouter A Flutter package that simplifies integration between Go Router and Riverpod state management with authentication handling. This package helps you manage routing based on authentication state and other app conditions, reducing boilerplate and providing a standardized approach. Features 🔐 Authentication-aware routing - Automatically redirect users based on auth state 🔄 State-driven navigation - Route changes respond to Riverpod state changes 🌊 Simplified navigation flow - Handle onboarding, authentication flow, and protected routes 📝 Declarative route definition - Define protected and public routes clearly 🪝 Easy integration - Works with your existing Go Router and Riverpod setup 🚀 Initial data loading - Wait for required data before navigation starts Installation Run: Quick Start Detailed Usage Authentication State Management The package provides a BaseAuthNotifier class that handles authentication state. Extend this class to implement your specific authentication logic: Route Management The RoutesManager class handles route redirects based on authentication state: Initial Data Loading (NEW!)

From the project README on GitHub

Stars
18
Forks
0
License
other
Last push
13 Mar 2025

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/pod-router.svg)](https://www.madeinalgeria.dev/projects/pod-router)

Related projects