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(),
      )),
    );
  }
}