setTouched method
- String name
Marks name as touched (typically on focus/blur) and validates it.
Implementation
void setTouched(String name) {
_touched.add(name);
_validateField(name);
notifyListeners();
}
Marks name as touched (typically on focus/blur) and validates it.
void setTouched(String name) {
_touched.add(name);
_validateField(name);
notifyListeners();
}