String? password(String? value) { if (value == null || value.isEmpty) { return t.password.enter; } if (value.length < 6) { return t.password.tooShort; } return null; }