⚛ Atom Flutter

pub package ci coverage License: MIT

⚠️ 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),
        ),
      ),
    );
  }
}

Libraries

atom_flutter