complexPassword static method

FormFieldValidator<String> complexPassword()

Required + 8 chars + strong password, with English messages. UValidators.complexPassword()

Implementation

static FormFieldValidator<String> complexPassword() => combineValidators(<FormFieldValidator<String>>[
  required(message: "Password is required"),
  minLength(minLength: 8, message: "Password must be at least 8 characters"),
  password(requiredMessage: "Password is required", weakMessage: "Password must contain uppercase, lowercase, number, and special character"),
]);