atom_flutter 0.0.3 atom_flutter: ^0.0.3 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 #
class CounterApp extends AtomWidget {
CounterApp({super.key});
final count = atom(0);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Center(
child: TextButton(
child: Text('${count.value}'),
onPressed: () => count.update((value) => value + 1),
),
),
);
}
}