NuntioText constructor
NuntioText({
- String? passwordHint,
- String? identifierHint,
- String? missingIdentifierTitle,
- String? missingIdentifierDescription,
- String? missingPasswordTitle,
- String? missingPasswordDescription,
- String? errorTitle,
- String? errorDescription,
- String? noWifiTitle,
- String? noWifiDescription,
- String? welcomeTitle,
- String? welcomeDetails,
- String? registerTitle,
- String? registerDetails,
- String? registerButton,
- String? repeatPasswordHint,
- String? passwordDoNotMatchTitle,
- String? passwordDoNotMatchDescription,
- String? passwordContainsEightCharsHint,
- String? passwordContainsSpecialHint,
- String? passwordContainsNumberHint,
- String? passwordsMustMatchHint,
- String? loginTitle,
- String? loginDetails,
- String? loginButton,
- String? forgotPasswordDetails,
- String? verificationCodeTitle,
- String? alreadyHaveAccountDescription,
- String? registerDisabledTipNoteMessage,
- String? verifyIdentifierTitle,
- String? verifyIdentifierDescription,
- String? verifyButton,
- String? invalidCodeTitle,
- String? invalidCodeDescription,
- String? identifierName,
- String? passwordName,
- String? repeatPasswordName,
Implementation
NuntioText({
String? passwordHint,
String? identifierHint,
String? missingIdentifierTitle,
String? missingIdentifierDescription,
String? missingPasswordTitle,
String? missingPasswordDescription,
String? errorTitle,
String? errorDescription,
String? noWifiTitle,
String? noWifiDescription,
String? welcomeTitle,
String? welcomeDetails,
String? registerTitle,
String? registerDetails,
String? registerButton,
String? repeatPasswordHint,
String? passwordDoNotMatchTitle,
String? passwordDoNotMatchDescription,
String? passwordContainsEightCharsHint,
String? passwordContainsSpecialHint,
String? passwordContainsNumberHint,
String? passwordsMustMatchHint,
String? loginTitle,
String? loginDetails,
String? loginButton,
String? forgotPasswordDetails,
String? verificationCodeTitle,
String? alreadyHaveAccountDescription,
String? registerDisabledTipNoteMessage,
String? verifyIdentifierTitle,
String? verifyIdentifierDescription,
String? verifyButton,
String? invalidCodeTitle,
String? invalidCodeDescription,
String? identifierName,
String? passwordName,
String? repeatPasswordName,
}) {
this.passwordHint = passwordHint ?? "JohnDoe1234!";
this.identifierHint = identifierHint ?? "your@email.io";
this.missingIdentifierTitle =
missingIdentifierTitle ?? "Missing required email";
this.missingIdentifierDescription = missingIdentifierDescription ??
"Please enter your email to login/register your account";
this.missingPasswordTitle =
missingPasswordTitle ?? "Missing required password";
this.missingPasswordDescription = missingPasswordDescription ??
"Please enter your password to login/register your account";
this.errorTitle = errorTitle ?? "Something went wrong";
this.errorDescription =
errorDescription ?? "We encountered an error. Please try again.";
this.noWifiTitle = noWifiTitle ?? "No wifi connection";
this.noWifiDescription = noWifiDescription ??
"We cannot authenticate your credentials without a valid wifi or data connection";
this.welcomeTitle = welcomeTitle ?? "Welcome";
this.welcomeDetails =
welcomeDetails ?? "Register for an account or sign in below";
this.registerTitle = registerTitle ?? "Register";
this.registerDetails = registerDetails ??
"Fill in the details below to register for an account";
this.registerButton = registerButton ?? "Register";
this.repeatPasswordHint = repeatPasswordHint ?? "Repeat your password";
this.passwordDoNotMatchTitle =
passwordDoNotMatchTitle ?? "Passwords do not match";
this.passwordDoNotMatchDescription = passwordDoNotMatchDescription ??
"The entered password and repeat password do not match";
this.passwordContainsEightCharsHint =
passwordContainsEightCharsHint ?? "Password must contain 8 chars";
this.passwordContainsSpecialHint =
passwordContainsSpecialHint ?? "Password must contain special char";
this.passwordContainsNumberHint =
passwordContainsNumberHint ?? "Password must contain number";
this.passwordsMustMatchHint =
passwordsMustMatchHint ?? "The two passwords must match";
this.loginTitle = loginTitle ?? "Login";
this.loginDetails =
loginDetails ?? "Fill in the details below to login to your account";
this.loginButton = loginButton ?? "Login";
this.forgotPasswordDetails = forgotPasswordDetails ?? "Forgot password?";
this.verificationCodeTitle =
verificationCodeTitle ?? "Enter provided verification code";
this.alreadyHaveAccountDescription =
alreadyHaveAccountDescription ?? "Already have an account?";
this.registerDisabledTipNoteMessage = registerDisabledTipNoteMessage ??
"Enter a valid password to create account";
this.verifyIdentifierTitle = verifyIdentifierTitle ?? "Verify your account";
this.verifyIdentifierDescription = verifyIdentifierDescription ??
"We have sent you a verification code. Please enter the code below.";
this.verifyButton = verifyButton ?? "Verify account";
this.invalidCodeTitle = invalidCodeTitle ?? "Invalid code";
this.invalidCodeDescription =
invalidCodeDescription ?? "The code that you have provided is invalid";
this.identifierName = identifierName ?? "Email";
this.passwordName = passwordName ?? "Password";
this.repeatPasswordName = repeatPasswordName ?? "Repeat password";
}