⚛ Atom Flutter
⚠️ Status: Experimental
Reactive primitives for Flutter. Built to work with package:atom
.
Quick Start
final count = atom(0);
class Counter extends AtomWidget {
const Counter({super.key});
@override
Widget build(BuildContext context) {
return TextButton(
onPressed: () => count.update((value) => value + 1),
child: Text('${count.value}'),
);
}
}