atom_flutter 0.0.2
atom_flutter: ^0.0.2 copied to clipboard
A library that provides composable, reactive primitives for Flutter inspired by Signals and Runes.
⚛ 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}'),
);
}
}