PasswordValidationSection constructor Null safety

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}
)

Implementation

const PasswordValidationSection({
  Key? key,
  required this.hasEightCharacters,
  required this.hasCapitalLetter,
  required this.hasSmallCapsLetter,
  required this.hasADigit,
  required this.hasASpecialCharacter,
}) : super(key: key);