→ كل المشاريع

pod_router

بواسطة @1FarZ1

18

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

عن هذا المشروع

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!)

من ملف README الخاص بالمشروع على GitHub

النجوم
18
التفريعات
0
الرخصة
other
آخر تحديث
13/03/2025

أضف هذه الشارة إلى ملف README

أظهر أن مشروعك مُدرج على «صُنع في الجزائر».

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

مشاريع ذات صلة