Skip to content
pubscout

pipe_x

1.7.1, released 11 months ago by navaneethk.dev

Lightweight reactive state management for Flutter with fine-grained reactivity

WASM-ready
$ flutter pub add pipe_x
Source repository

What it does

PipeX provides a simple, fine‑grained reactive system using Pipe, Hub, Sink, and Well. It automatically manages lifecycles and rebuilds only widgets that depend on changed state.

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

Use it when

  • Need minimal boilerplate for state updates
  • Require fine‑grained rebuilds for performance
  • Prefer a declarative API without streams
  • Want automatic lifecycle management

Skip it when

  • Complex async workflows that benefit from stream APIs
  • Large applications that already use a DI framework like get_it or provider

Strengths

  • Fine‑grained reactivity with minimal rebuilds
  • Automatic lifecycle and disposal
  • Simple, intuitive API
  • Good performance due to direct element manipulation

Weaknesses

  • No built‑in dependency injection
  • No stream‑based API
  • Limited ecosystem compared to Riverpod or Provider

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
final counter = Pipe(0);
counter.value++;
Sink(pipe: counter, builder: (ctx, v) => Text('$v'))

Alternatives

Packages that do the same job and could replace pipe_x.

  • riverpod

    Riverpod offers a mature, DI‑friendly state management solution with a larger ecosystem and more features.