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