PasswordRuleCheck.suggestedSafety constructor
const
PasswordRuleCheck.suggestedSafety({
- Key? key,
- required TextEditingController controller,
- required PasswordRuleSet ruleSet,
- required List<
PasswordRuleSet> optimalRules, - Color? successColor,
- Color? errorColor,
- Color? acceptColor,
- TextStyle? textStyle,
- PasswordRuleCheckTranslation? translation,
- double rowHeight = 16,
- BorderRadiusGeometry rowRadius = const BorderRadius.all(Radius.zero),
Implementation
const PasswordRuleCheck.suggestedSafety({
Key? key,
required this.controller,
required this.ruleSet,
required List<PasswordRuleSet> optimalRules,
this.successColor,
this.errorColor,
this.acceptColor,
this.textStyle,
this.translation,
this.rowHeight = 16,
this.rowRadius = const BorderRadius.all(Radius.zero),
}) : this.optimalRules = optimalRules,
this.showIcon = false,
this.textPadding = const EdgeInsets.symmetric(vertical: 4.0),
this.rowSpacing = 0,
super(key: key);