AuthenticationController class

Inheritance

Constructors

AuthenticationController()

Properties

addons List<Subscriptions>?
no setter
autoFillReferralCode RxBool
getter/setter pair
body String
final
companyNameTxtController TextEditingController
getter/setter pair
countryCodeController TextEditingController
getter/setter pair
currentlySelectedIndex RxInt
getter/setter pair
currentSubscription Subscriptions
no setter
daysToExpiry int
no setter
dialCode RxString
getter/setter pair
displayName String
no setter
email String
final
emailTxtController TextEditingController
getter/setter pair
expiryDate DateTime?
no setter
firstNameTxtController TextEditingController
getter/setter pair
forgetPasswordController TextEditingController
getter/setter pair
hasActiveSubscription bool
no setter
hasConfirmedBooking bool
no setter
hasCreditPurchased bool
no setter
hasExpiredSubscription bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
no setterinherited
hasReturnedToZero RxBool
getter/setter pair
hasSubscription bool
no setter
initialized bool
Checks whether the controller has already been initialized.
no setterinherited
isAutoLoginTried bool
getter/setter pair
isClosed bool
Checks whether the controller has already been closed.
no setterinherited
isCorporate bool
no setter
isEmailAuth RxBool
getter/setter pair
isInUAE bool
no setter
isLoggedIn bool
no setter
isPhoneLinked bool
no setter
isProfileLoaded RxBool
getter/setter pair
isResendEnabled RxBool
getter/setter pair
isSignedInWithProvider bool
no setter
isSubscriptionExpired bool
no setter
lastNameTxtController TextEditingController
getter/setter pair
listeners int
no setterinherited
locationCountryCode String?
no setter
mobileNumTxtController TextEditingController
getter/setter pair
myPlanId String
no setter
myResendToken int?
getter/setter pair
mySubscription Subscriptions?
no setter
myVerificationID String?
getter/setter pair
obscurePassText RxBool
getter/setter pair
onDelete InternalFinalCallback<void>
Internal callback that starts the cycle of this controller.
finalinherited
onStart InternalFinalCallback<void>
Called at the exact moment the widget is allocated in memory. It uses an internal "callable" type, to avoid any @overrides in subclases. This method should be internal and is required to define the lifetime cycle of the subclass.
finalinherited
passTxtController TextEditingController
getter/setter pair
phoneAuthCredential PhoneAuthCredential?
getter/setter pair
phoneFieldKey RxInt
final
phoneNumberController TextEditingController
getter/setter pair
pinController TextEditingController
getter/setter pair
referralCode String?
no setter
referralCodeTxtController TextEditingController
getter/setter pair
referralUrl String
no setter
referralUrlShort String
no setter
remainingSeconds RxInt
getter/setter pair
residentCountry RxString
getter/setter pair
resultPin RxString
getter/setter pair
rotateImageController RotateImageController
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldStopAutoPlay RxBool
getter/setter pair
signIn_obscurePassText RxBool
getter/setter pair
signInEmailTxtController TextEditingController
getter/setter pair
signInPassTxtController TextEditingController
getter/setter pair
signinSignupTab RxString
getter/setter pair
signUpEmail RxString
getter/setter pair
subject String
final
subscriptionsModel Rx<SubscriptionsModel>
getter/setter pair
subscriptionType RxString
getter/setter pair
topAreaCarouselController CarouselSliderController
getter/setter pair
userConfig UserConfig?
no setter
userProfileModel Rx<ProfileModel>
getter/setter pair

Methods

$configureLifeCycle() → void
inherited
activateSignaturePassFlow() → void
addListener(GetStateUpdate listener) Disposer
Register a closure to be called when the object notifies its listeners.
inherited
addListenerId(Object? key, GetStateUpdate listener) Disposer
inherited
autoLogin() → void
cancelTimer() → void
checkPhoneExistence(String phone) Future<bool>
checkReferralCode(String code) Future<bool>
checkUserExistence(String email, String phone) Future<bool>
clearLoginFields() → dynamic
confirmOtp() Future<bool>
dispose() → void
inherited
disposeId(Object id) → void
To dispose an id from future updates(), this ids are registered by GetBuilder() or similar, so is a way to unlink the state change with the Widget from the Controller.
inherited
getRedirectUri(BuildContext context) Uri
getSubscriptions() Future<void>
getUserProfile() Future<void>
handleSignup() Future
handleSignupProvider(AuthProvider provider, bool fromSignUp) Future<void>
handleUserCreationError() Future
launchEmail() → void
linkEmailPassword(User user, dynamic referralCode) Future<void>
linkPhoneWithOAuth(User currentUser) Future<UserCredential?>
logIn() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChildrens() → void
inherited
onClose() → void
Called before onDelete method. onClose might be used to dispose resources used by the controller. Like closing events, or streams before the controller is destroyed. Or dispose objects that can potentially create some memory leaks, like TextEditingControllers, AnimationControllers. Might be useful as well to persist some data on disk.
override
onInit() → void
Called immediately after the widget is allocated in memory. You might use this to initialize something for the controller.
inherited
onLoginSuccessful({String? referralCode, bool fromSignUp = false}) → dynamic
onReady() → void
Called 1 frame after onInit(). It is the perfect place to enter navigation events, like snackbar, dialogs, or a new route, or async request.
override
promptForReferralCode(String? referralCode) Future<bool>
refresh() → void
inherited
refreshGroup(Object id) → void
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
removeListenerId(Object id, VoidCallback listener) → void
inherited
resendOTP(dynamic phoneNo) Future<void>
sendOtp() Future<bool>
sendPasswordResetEmail() Future<void>
setRefferalCode(String code) Future<bool>
sha256ofString(String input) String
showRefinedErrorMessage(dynamic error) → void
signInWithApple({bool fromSignUp = false}) Future<void>
signInWithGoogle({required bool fromSignUp}) Future<void>
signOut() Future<void>
signUp() Future<void>
signup1() Future
signupProvider() Future
startTimer() → void
toString() String
A string representation of this object.
inherited
update([List<Object>? ids, bool condition = true]) → void
Rebuilds GetBuilder each time you call update(); Can take a List of ids, that will only update the matching GetBuilder( id: ), ids can be reused among GetBuilders like group tags. The update will only notify the Widgets, if condition is true.
inherited
updateIndex(int index) → void
useReferralCode() → void
validateSignupFields() bool
verifyPhone() Future<bool>
verifyPhoneNumber() Future<PhoneAuthCredential?>

Operators

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