LoginTexts class
LoginTexts is the provider for all texts in the login screen.
- Inheritance
-
- Object
- ChangeNotifier
- LoginTexts
Constructors
- LoginTexts({String? welcome, String? welcomeDescription, String? signUp, String? signUpFormTitle, String? signUpUseEmail, String? welcomeBack, String? welcomeBackDescription, String? login, String? loginFormTitle, String? loginUseEmail, String? forgotPassword, String? notHaveAnAccount, String? alreadyHaveAnAccount, String? nameHint, String? signupEmailHint, String? signupPasswordHint, String? loginEmailHint, String? loginPasswordHint, String? confirmPasswordHint, String? passwordMatchingError, String? dialogButtonText, String? chooseLanguageTitle, String? agreementText, String? privacyPolicyText, String? termsConditionsText, String? privacyPolicyLink, String? termsConditionsLink, String? checkboxError, LanguageOption? selectedLanguage})
- Provides default texts for those aren't provided in the constructor.
Properties
- agreementText → String
-
The agreement text.
Default value is given in
_defaultAgreementText
. Custom value in the constructor is assigned to_agreementText
.no setter - alreadyHaveAnAccount → String
-
Text above the login button to direct users who already have an account.
Default value is given in
_defaultAlreadyHaveAnAccount
. Custom value in the constructor is assigned to_alreadyHaveAnAccount
.no setter - checkboxError → String
-
The error text displayed when the terms are not accepted.
Default value is given in
_defaultCheckboxError
. Custom value in the constructor is assigned to_checkboxError
.no setter - chooseLanguageTitle → String
-
The title of choose language dialog.
Default value is given in
_defaultChooseLanguageTitle
. Custom value in the constructor is assigned to_chooseLanguageTitle
.no setter - confirmPasswordHint → String
-
Hint text for confirm password text form field.
Default value is given in
_defaultConfirmPasswordHint
. Custom value in the constructor is assigned to_confirmPasswordHint
.no setter - dialogButtonText → String
-
The button text of error dialog.
Default value is given in
_defaultDialogButtonText
. Custom value in the constructor is assigned to_dialogButtonText
.no setter - forgotPassword → String
-
Forgot password text for login mode.
Default value is given in
_defaultForgotPassword
. Custom value in the constructor is assigned to_forgotPassword
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- language ↔ LanguageOption?
-
Currently selected language.
getter/setter pair
- login → String
-
Action button text for login mode.
Default value is given in
_defaultLogin
. Custom value in the constructor is assigned to_login
.no setter - loginEmailHint → String
-
Hint text for email text form field.
Default value is given in
_defaultLoginEmailHint
. Custom value in the constructor is assigned to_loginEmailHint
.no setter - loginFormTitle → String
-
Form title for login mode.
Default value is given in
_defaultLoginFormTitle
. Custom value in the constructor is assigned to_loginFormTitle
.no setter - loginPasswordHint → String
-
Hint text for password text form field.
Default value is given in
_defaultLoginPasswordHint
. Custom value in the constructor is assigned to_loginPasswordHint
.no setter - loginUseEmail → String
-
Use email CTA for login mode.
Default value is given in
_defaultLoginUseEmail
. Custom value in the constructor is assigned to_loginUseEmail
.no setter - nameHint → String
-
Hint text for name text form field.
Default value is given in
_defaultNameHint
. Custom value in the constructor is assigned to_nameHint
.no setter - notHaveAnAccount → String
-
Text above the sign up button to direct users who don't have an account.
Default value is given in
_defaultNotHaveAnAccount
. Custom value in the constructor is assigned to_notHaveAnAccount
.no setter - passwordMatchingError → String
-
The error text for not matching password and confirm password inputs.
Default value is given in
_defaultPasswordMatchingError
. Custom value in the constructor is assigned to_passwordMatchingError
.no setter - privacyPolicyLink → String
-
The link for the privacy policy website.
Default value is given in
_defaultPrivacyPolicyLink
. Custom value in the constructor is assigned to_privacyPolicyLink
.no setter - privacyPolicyText → String
-
The privacy policy text.
Default value is given in
_defaultPrivacyPolicyText
. Custom value in the constructor is assigned to_privacyPolicyText
.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signUp → String
-
Action button text for sign up mode.
Default value is given in
_defaultSignUp
. Custom value in the constructor is assigned to_signUp
.no setter - signupEmailHint → String
-
Hint text for email text form field.
Default value is given in
_defaultSignupEmailHint
. Custom value in the constructor is assigned to_signupEmailHint
.no setter - signUpFormTitle → String
-
Form title for sign up mode.
Default value is given in
_defaultSignUpFormTitle
. Custom value in the constructor is assigned to_signUpFormTitle
.no setter - signupPasswordHint → String
-
Hint text for password text form field.
Default value is given in
_defaultSignupPasswordHint
. Custom value in the constructor is assigned to_signupPasswordHint
.no setter - signUpUseEmail → String
-
Use email CTA for sign up mode.
Default value is given in
_defaultSignUpUseEmail
. Custom value in the constructor is assigned to_signUpUseEmail
.no setter - termsConditionsLink → String
-
The link for the terms&conditions website.
Default value is given in
_defaultTermsConditionsLink
. Custom value in the constructor is assigned to_termsConditionsLink
.no setter - termsConditionsText → String
-
The terms&conditions text.
Default value is given in
_defaultTermsConditionsText
. Custom value in the constructor is assigned to_termsConditionsText
.no setter - welcome → String
-
Welcome title in signUp mode for the informing part.
Default value is given in
_defaultWelcome
. Custom value in the constructor is assigned to_welcome
.no setter - welcomeBack → String
-
Welcome title in login mode for the informing part.
Default value is given in
_defaultWelcomeBack
. Custom value in the constructor is assigned to_welcomeBack
.no setter - welcomeBackDescription → String
-
Welcome description in login mode for the informing part.
Default value is given in
_defaultWelcomeBackDescription
. Custom value in the constructor is assigned to_welcomeBackDescription
.no setter - welcomeDescription → String
-
Welcome description in signUp mode for the informing part.
Default value is given in
_defaultWelcomeDescription
. Custom value in the constructor is assigned to_welcomeDescription
.no setter
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
setLanguage(
LanguageOption newLanguage) → void - Sets the language
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited