SimplerLogin class

Inheritance

Properties

auth → FirebaseAuth
FirebaseAuth
no setterinherited
errorStream Stream<String?>
Stream Error
no setterinherited
forceResendingToken int?
getter/setter pairinherited
googleSignIn → GoogleSignIn
finalinherited
hashCode int
The hash code for this object.
no setterinherited
otpSent Stream<bool>
Stream whether OTP is sent or not
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user → User?
Get Current User
no setterinherited
userStream Stream<User?>
Stream userchanges
no setterinherited
verificationId String?
getter/setter pairinherited

Methods

createUserWithEmailAndPassword({required String email, required String password, bool updateProfile = false, String? displayName, String? photoURL, dynamic onError(String)?}) Future<UserCredential?>
CreateAccountWithEmailAndPassword method to login to existing account
inherited
dispose() → dynamic
Dispose
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signInWithEmailAndPassword({required String email, required String password, bool updateProfile = false, String? displayName, String? photoURL, dynamic onError(String)?}) Future<UserCredential?>
signInWithEmailAndPassword method to login to existing account
inherited
signInWithGoogle() Future<UserCredential?>
inherited
signOut() Future<void>
signOut method
inherited
toString() String
A string representation of this object.
inherited
verifyOtp({required String smsCode, String verificationId = '', bool updateProfile = false, String? displayName, String? photoURL, bool linkWithAnonymousAccount = false}) Future<UserCredential?>
A FirebaseAuthException maybe thrown with the following error code:
inherited
verifyPhoneNumber({required String phoneNumber, TextEditingController? otpController, bool signInOnAutoRetrival = true, void codeSent(String, int?)?, void verificationFailed(FirebaseAuthException)?, void verificationCompleted(PhoneAuthCredential)?, void codeAutoRetrievalTimeout(String)?, RecaptchaVerifier? verifier, int? forceResendingToken, Duration? timeout}) Future<void>
Starts a sign-in flow for a phone number.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance SimplerLogin
no setter