PasswordValidationSection constructor

const PasswordValidationSection({
  1. Key? key,
  2. required bool hasEightCharacters,
  3. required bool hasCapitalLetter,
  4. required bool hasSmallCapsLetter,
  5. required bool hasADigit,
  6. required bool hasASpecialCharacter,
  7. Color textColor = Colors.white,
  8. double textFontSize = 15,
  9. FontWeight textFontWeight = FontWeight.normal,
})

Implementation

const PasswordValidationSection({
  Key? key,
  required this.hasEightCharacters,
  required this.hasCapitalLetter,
  required this.hasSmallCapsLetter,
  required this.hasADigit,
  required this.hasASpecialCharacter,
  this.textColor = Colors.white,
  this.textFontSize = 15,
  this.textFontWeight = FontWeight.normal,
}) : super(key: key);