unsaved_changes 0.0.3 copy "unsaved_changes: ^0.0.3" to clipboard
unsaved_changes: ^0.0.3 copied to clipboard

Detects unsaved changes on editable Flutter surfaces by diffing live state against a captured baseline, and reports what changed.

0.0.3 #

  • Add the unsaved_changes_testing library: ScriptedDetector, TestTicker, RecordingObserver, and settle(). No new dependencies — it works under both test and flutter_test.

0.0.2 #

  • Add the detector library: FieldGroupDetector, CollectionDetector, MembershipDetector, PayloadDigestDetector, ValueStreamDetector, and the shared Facet.
  • Add StreamSignal and streamBaseline so bloc-shaped state can drive a tracker without a ChangeNotifier.
  • Add BaselineSource.onDispose, released with the tracker.
  • Add defaultEquals / nullableStringEquals.

0.0.1 #

  • Initial release: ChangeTracker, ChangeDetector / SnapshotChangeDetector, TrackedChange, ChangeSet, BaselineSource, TrackerOptions, and ChangeTrackerObserver.
1
likes
160
points
96
downloads

Documentation

API reference

Publisher

verified publishersupy.io

Weekly Downloads

Detects unsaved changes on editable Flutter surfaces by diffing live state against a captured baseline, and reports what changed.

Repository (GitHub)
View/report issues

Topics

#unsaved-changes #dirty-checking #diff #form #state

License

MIT (license)

Dependencies

collection, flutter

More

Packages that depend on unsaved_changes