PasswordValidationConfig constructor
const
PasswordValidationConfig({})
Creates a PasswordValidationConfig with optional customized constraints.
Implementation
const PasswordValidationConfig({
this.minLength = 8,
this.maxLength = 128,
this.minComplexityScore = 3,
this.minAsciiCode = 32,
this.maxAsciiCode = 126,
this.sequentialRunFactor = 0.5,
this.commonPasswords = _defaultCommonPasswords,
this.commonPrefixes = _defaultCommonPrefixes,
});