NuntioText constructor

NuntioText({
  1. String? passwordHint,
  2. String? identifierHint,
  3. String? missingIdentifierTitle,
  4. String? missingIdentifierDescription,
  5. String? missingPasswordTitle,
  6. String? missingPasswordDescription,
  7. String? errorTitle,
  8. String? errorDescription,
  9. String? noWifiTitle,
  10. String? noWifiDescription,
  11. String? welcomeTitle,
  12. String? welcomeDetails,
  13. String? registerTitle,
  14. String? registerDetails,
  15. String? registerButton,
  16. String? repeatPasswordHint,
  17. String? passwordDoNotMatchTitle,
  18. String? passwordDoNotMatchDescription,
  19. String? passwordContainsEightCharsHint,
  20. String? passwordContainsSpecialHint,
  21. String? passwordContainsNumberHint,
  22. String? passwordsMustMatchHint,
  23. String? loginTitle,
  24. String? loginDetails,
  25. String? loginButton,
  26. String? forgotPasswordDetails,
  27. String? verificationCodeTitle,
  28. String? alreadyHaveAccountDescription,
  29. String? registerDisabledTipNoteMessage,
  30. String? verifyIdentifierTitle,
  31. String? verifyIdentifierDescription,
  32. String? verifyButton,
  33. String? invalidCodeTitle,
  34. String? invalidCodeDescription,
  35. String? identifierName,
  36. String? passwordName,
  37. 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";
}