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.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add unsaved_changes

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  unsaved_changes: ^0.0.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:unsaved_changes/unsaved_changes.dart';
1
likes
160
points
93
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