PasswordRuleCheck.suggestedSafety constructor

const PasswordRuleCheck.suggestedSafety({
  1. Key? key,
  2. required TextEditingController controller,
  3. required PasswordRuleSet ruleSet,
  4. required List<PasswordRuleSet> optimalRules,
  5. Color? successColor,
  6. Color? errorColor,
  7. Color? acceptColor,
  8. TextStyle? textStyle,
  9. PasswordRuleCheckTranslation? translation,
  10. double rowHeight = 16,
  11. 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);