Skip to content
pubscout

built_redux

8.0.11, released 2 months ago by workiva.com

A state management library written in dart that enforces immutability

WASM-ready
$ flutter pub add built_redux
Source repository

What it does

built_redux is an implementation of Redux and a framework for building middleware and reducers in a type safe manner. It uses built_value for immutable models and relies on code generation to create actions and boilerplates.

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

Use it when

  • You prefer the Redux architecture pattern for state management.
  • You are already using built_value for your immutable data models.

Skip it when

  • You want a lightweight state management solution without code generation.
  • You prefer modern state management solutions like Riverpod or Bloc.

Strengths

  • Enforces strict immutability using built_value.
  • Type-safe actions, reducers, and middleware.
  • Comprehensive ecosystem with support for thunks, rx, and repatch.

Weaknesses

  • Requires code generation (build_runner) setup.
  • High boilerplate compared to newer state management libraries.

Setup

Kind
Pure Dart
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
6

Requires setting up build_runner and code generation alongside built_value and analyzer dependencies.

not documented

Alternatives

Packages that do the same job and could replace built_redux.

  • bloc

    More widely used in the Flutter ecosystem with extensive documentation and less code generation overhead.

  • riverpod

    Modern, compile-safe state management that avoids global state issues and handles dependency injection seamlessly.

Works with

Packages commonly used together with built_redux: ones it builds on, ones built on it, and its own family.