isPasswordStrong property

bool get isPasswordStrong

Implementation

bool get isPasswordStrong {
  return RegExp(
    r'^(?=.*[A-Z])(?=.*[a-z])(?=.*?[0-9])(?=.*?[!@#\$&*~]).{8,}$',
  ).hasMatch(this);
}