form_dirty_state 1.0.0
form_dirty_state: ^1.0.0 copied to clipboard
A lightweight, zero-dependency Dart package for tracking unsaved form changes with deep equality and defensive snapshots.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2026-09-29 #
Added #
- Initial stable release of
form_dirty_state. DirtyFormControllerfor tracking form dirty state.- Field-level dirty state inspection with
isFieldDirty(). - Modified field inspection with
dirtyFields. - Changed-value extraction with
changes. - Baseline and current value inspection.
- Deep equality for supported nested collections and values.
- Defensive snapshotting to protect internal state.
reset()support for restoring baseline values.markSaved()support for establishing a new baseline.- Synchronous change notifications through
onChangedand listeners.