password property
Password (at least 8 characters, 1 uppercase, 1 number, 1 special character)
Implementation
static String password =
r'^(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$';
Password (at least 8 characters, 1 uppercase, 1 number, 1 special character)
static String password =
r'^(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$';