password_rule_check 0.2.1 password_rule_check: ^0.2.1 copied to clipboard
A Flutter Widget to display if a password matches given Rules
PasswordRuleCheck #
A Flutter Widget to show if a Password matches a specific Rule Set
Supported Checks #
- minimum Length
- maximum Length
- minimum number of uppercase Letters
- minimum number of lowercase Letters
- minimum number of digits
- minimum number of special characters
Localizations #
Supported Languages:
- English πΊπΈπ¬π§
- German π©πͺ
- Portuguese π΅πΉ
Feel free to add a new language via a Pull Request
Alternatively you can specify custom translations/texts by passing in a custom PasswordRuleCheckTranslation
class MyCustomTranslation extends PasswordRuleCheckTranslation {
// Override for your custom Translations
}
PasswordRuleCheck(
ruleSet: RuleSet(),
translation: MyCustomTranslation(),
);