pristine property Null safety

bool pristine

A control is pristine if the user has not yet changed the value in the UI.

Gets true if the user has not yet changed the value in the UI. Programmatic changes to a control's value do not mark it dirty.

See also dirty.

Implementation

bool get pristine => _pristine;