isDirty property
bool
get
isDirty
Will be true if some field on form are dirty.
Dirty: The value of field is changed by user or by logic code.
Implementation
bool get isDirty => fields.values.any((field) => field.isDirty);