passwordValidator method
Implementation
String? passwordValidator(value) {
if (value!.isEmpty || value.length <= 2) {
return tr('password.too.short');
}
return null;
}
String? passwordValidator(value) {
if (value!.isEmpty || value.length <= 2) {
return tr('password.too.short');
}
return null;
}