easy_firebase_auth 2.6.0 easy_firebase_auth: ^2.6.0 copied to clipboard
Manage authentication with firebase in an extremely simple way
easy_firebase_auth #
Add Firebase authentication to your Flutter app with a few lines of code.
Supported Firebase authentication methods #
- Sign in with email
- Sign in with Google
- Sign in with Apple
- Sign in Anonymous
Basic usage #
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return AuthProvider(
autoSignInAnonymously: false,
splashScreenDurationMillis: 500,
child: MaterialApp(
home: AuthManagerWidget(
splashScreen: SplashScreen(),
loggedScreen: LoggedScreen(),
notLoggedScreen: NotLoggedScreen(),
)),
);
}
}