dirty property Null safety
A control is dirty
if the user has changed the value in the UI.
Gets true if the user has changed the value of this control in the UI.
Programmatic changes to a control's value do not mark it dirty.
See also pristine.
Implementation
bool get dirty => !pristine;