complexPassword static method
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",
),
]);