passwordHardAllowedWhitespace property Null safety

String passwordHardAllowedWhitespace
read / write

Password (Hard) Regex Allowing all character Must contains at least: 1 uppercase letter, 1 lowecase letter, 1 number, & 1 special character (symbol) Minimum character: 8

Implementation

static String passwordHardAllowedWhitespace =
    r'^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\W_])[\S ]{8,}$';