markAsTouched method
Mark the field as touched (focused then blurred).
Implementation
void markAsTouched() {
if (!value.isTouched) {
value = value.copyWith(isTouched: true);
}
}
Mark the field as touched (focused then blurred).
void markAsTouched() {
if (!value.isTouched) {
value = value.copyWith(isTouched: true);
}
}