nucleus 0.4.1 nucleus: ^0.4.1 copied to clipboard
An atomic dependency and state management toolkit - fast, simple and composable.
import 'package:nucleus/nucleus.dart';
final count = stateAtom(0);
void main(List<String> args) async {
final store = AtomRegistry();
print(store.get(count));
store.set(count, 2);
print(store.get(count));
}