flutter_watcher 1.0.3 copy "flutter_watcher: ^1.0.3" to clipboard
flutter_watcher: ^1.0.3 copied to clipboard

Streamlined state management in Flutter using ValueNotifier, with advanced features and helper functions.

1.0.3 #

  • All extensions for the Watcher<T> class in Flutter have been enhanced. Included all missing actions for each Watcher<T> extension. Updated documentation for each action to provide clearer guidance and use-case examples.
    • These extensions allow for direct manipulation of the data types within Watcher<T>, mirroring operations typically performed on the underlying data types themselves.

Example Usage #


final boolWatcher = true.watcher;
boolWatcher.toggle
();

final counter = 10.watcher;
counter.increment
(2); // Using IntValueNotifierEx to increment the value by 2

final urlWatcher = Uri.parse("https://example.com").watcher;
urlWatcher.updatePath("/newpage"); // Using UriValueNotifierEx to update the path

final listWatcher = [1,2,3].watch;
listWatcher.clear();

1.0.2 #

1.0.1 #

  • UPDATE: Updated the docs.

1.0.0 #

  • INITIAL: Initial release.
14
likes
0
pub points
55%
popularity

Publisher

unverified uploader

Streamlined state management in Flutter using ValueNotifier, with advanced features and helper functions.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_helper_utils, hive, hive_flutter

More

Packages that depend on flutter_watcher