isValidPassword property
bool
get
isValidPassword
At least 8 chars, one uppercase, one lowercase, one digit, one non-alphanumeric character (any — not a fixed whitelist).
Implementation
bool get isValidPassword {
return const PasswordValidator().validate(this).isRight();
}