firebase_auth_riverpod_package 0.0.2
firebase_auth_riverpod_package: ^0.0.2 copied to clipboard
A reusable Firebase Authentication package using Riverpod.
Firebase Auth Riverpod Package #
A reusable and testable Firebase Authentication wrapper using Riverpod for clean architecture in Flutter.
Features #
- Email/Password Sign-in and Registration
- Callbacks for login/register success and failure
- Riverpod providers for state management
Usage #
ref.read(authRepositoryProvider).signInWithEmail(
email: 'example@email.com',
password: 'password123',
onSuccess: (user) => print("Logged in: ${user.email}"),
onFailure: (error) => print("Error: $error"),
);