SafePasswordValidator constructor

const SafePasswordValidator({
  1. bool requireDigit = true,
  2. bool requireLowercase = true,
  3. bool requireUppercase = true,
  4. bool requireSpecialChar = true,
  5. String? message,
})

Creates a SafePasswordValidator with configurable requirements.

Implementation

const SafePasswordValidator(
    {this.requireDigit = true,
    this.requireLowercase = true,
    this.requireUppercase = true,
    this.requireSpecialChar = true,
    this.message});