passwordRegex property
String
passwordRegex
The regex for custom password
Implementation
static String get passwordRegex => r'^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[!@#\$&*~]).{8,}$';
The regex for custom password
static String get passwordRegex => r'^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[!@#\$&*~]).{8,}$';