passwordHardAllowedWhitespace constant
Pattern
const passwordHardAllowedWhitespace
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 const Pattern passwordHardAllowedWhitespace =
r'^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\W_])[\S ]{8,}$';