isTouched property

bool get isTouched

Will be true if some field on form are touched.

Touched: The field is focused by user or by logic code.

Implementation

bool get isTouched => fields.values.any((field) => field.isTouched);