atom_extensions 1.1.1 copy "atom_extensions: ^1.1.1" to clipboard
atom_extensions: ^1.1.1 copied to clipboard

Atom Extensions

Atom Extensions #

This package is meant to be a helper for ASP (Atomic State Pattern) in Dart.

Since ASP package deprecated RxList, RxSet and RxMap classes, this package aims to simplify the usage of collections in ASP.

For example, without Atom Extensions, you would write:

final myReactiveList = Atom<List<String>>([]);
final newList = myReactiveList.value;
newList.add('Pedro Lemos');
myReactiveList.setValue(newList);

With ASP, the same behavior is reduced to:

final myReactiveList = <String>[].createAtom();
myReactiveList.add('Pedro Lemos');
2
likes
120
pub points
15%
popularity

Publisher

unverified uploader

Atom Extensions

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

asp, flutter

More

Packages that depend on atom_extensions