Skip to content
pubscout

creator

0.3.3, released 3 years ago by chooly.app

A lightweight state management library inspired by Riverpod, providing concise, testable business logic.

WASM-ready
$ flutter pub add creator
Source repository

What it does

Creator offers a simple API to create reactive state streams and async emitters. It automatically manages dependencies, lazy loads providers, and rebuilds widgets when state changes.

AI-written summary of version 0.3.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Need concise, readable state logic
  • Require async support without complex boilerplate
  • Want easy testing of business logic
  • Prefer a small, self-contained library

Skip it when

  • Large, complex apps with many interdependent providers
  • Projects that rely heavily on code generation or advanced features like routing

Strengths

  • Concise API with map/where/reduce helpers
  • Automatic dependency graph and lazy loading
  • Good async support via Emitter
  • Testable business logic

Weaknesses

  • Less mature ecosystem, fewer third‑party integrations
  • Limited documentation compared to Riverpod
  • No built‑in code generation or advanced features

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
final counter = Creator.value(0);

Widget build(BuildContext context) {
  return Column(
    children: [
      Watcher((context, ref, _) => Text('${ref.watch(counter)}')),
      TextButton(
        onPressed: () => context.ref.update<int>(counter, (c) => c + 1),
        child: const Text('+1'),
      ),
    ],
  );
}

Alternatives

Packages that do the same job and could replace creator.