PasswordScreenText constructor

PasswordScreenText({
  1. String? title,
  2. String? description,
  3. String? passwordLabel,
  4. String? resetLinkText,
  5. String? backButtonText,
  6. String? nextButtonText,
  7. String? minLength,
  8. String? hasUppercase,
  9. String? hasLowercase,
  10. String? hasNumber,
  11. String? hasSymbol,
  12. String? confirmation,
})

Implementation

factory PasswordScreenText({
  $core.String? title,
  $core.String? description,
  $core.String? passwordLabel,
  $core.String? resetLinkText,
  $core.String? backButtonText,
  $core.String? nextButtonText,
  $core.String? minLength,
  $core.String? hasUppercase,
  $core.String? hasLowercase,
  $core.String? hasNumber,
  $core.String? hasSymbol,
  $core.String? confirmation,
}) {
  final _result = create();
  if (title != null) {
    _result.title = title;
  }
  if (description != null) {
    _result.description = description;
  }
  if (passwordLabel != null) {
    _result.passwordLabel = passwordLabel;
  }
  if (resetLinkText != null) {
    _result.resetLinkText = resetLinkText;
  }
  if (backButtonText != null) {
    _result.backButtonText = backButtonText;
  }
  if (nextButtonText != null) {
    _result.nextButtonText = nextButtonText;
  }
  if (minLength != null) {
    _result.minLength = minLength;
  }
  if (hasUppercase != null) {
    _result.hasUppercase = hasUppercase;
  }
  if (hasLowercase != null) {
    _result.hasLowercase = hasLowercase;
  }
  if (hasNumber != null) {
    _result.hasNumber = hasNumber;
  }
  if (hasSymbol != null) {
    _result.hasSymbol = hasSymbol;
  }
  if (confirmation != null) {
    _result.confirmation = confirmation;
  }
  return _result;
}