atomly 0.1.1 copy "atomly: ^0.1.1" to clipboard
atomly: ^0.1.1 copied to clipboard

Atomic state management for Dart and Flutter. One Atom<T> primitive handles sync, async, computed, families, and effects with no boilerplate or codegen.

Changelog #

0.1.1 #

  • Add a runnable headless example under example/.
  • Shorten the package description to fit pub.flutter-io.cn's 60–180 character window for search-result snippets.

0.1.0 #

Initial release.

  • Atom<T> core primitive with five constructors: Atom(value), Atom.computed, Atom.future, Atom.stream, Atom.family.
  • AtomValue<T> sealed class for async state (AtomData / AtomLoading / AtomError) with stale-while-revalidate previousData carry-through.
  • AtomStore runtime with dependency tracking, automatic invalidation, auto-dispose, and override mechanism.
  • AtomLifecycle API for advanced atoms (onDispose, dependency tracking via lc.get).
  • Observer hook (Atomly.observe) for logging every read / write / dispose for DevTools or external integrations.
  • Pure Dart, no code generation, no Flutter dependency.
0
likes
160
points
40
downloads

Documentation

API reference

Publisher

verified publisherzakriakhan.com

Weekly Downloads

Atomic state management for Dart and Flutter. One Atom<T> primitive handles sync, async, computed, families, and effects with no boilerplate or codegen.

Homepage
Repository (GitHub)
View/report issues

Topics

#state #state-management #reactive #atom #async

License

MIT (license)

Dependencies

meta

More

Packages that depend on atomly