Skip to main content

form_dirty_state 1.0.0 copy "form_dirty_state: ^1.0.0" to clipboard
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.
  • DirtyFormController for 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 onChanged and listeners.
1
likes
160
points
355
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight, zero-dependency Dart package for tracking unsaved form changes with deep equality and defensive snapshots.

Homepage
Repository (GitHub)
View/report issues

Topics

#form #state-management #dirty-state #dart #flutter

License

MIT (license)

More

Packages that depend on form_dirty_state