Skip to content
pubscout

flutter_solidart

2.7.4, released 6 months ago by mariuti.com

A simple state management solution for Flutter inspired by SolidJS.

WASM-ready
$ flutter pub add flutter_solidart
Source repository

What it does

Provides fine-grained reactivity using signals, effects, computed values, and async resources. It updates only the specific widgets that depend on changed signals without requiring code generation.

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

Use it when

  • You want fine-grained reactivity without boilerplate code generation.
  • You prefer an approach inspired by SolidJS signals rather than streams or BLoC.
  • You need to handle asynchronous loading via Resources tied to reactive sources.

Skip it when

  • Your project standardizes heavily around a different state management library like Riverpod or Bloc.
  • You require a strictly centralized global state tree.

Strengths

  • Simple and easy to learn with minimal concepts.
  • No code generation needed.
  • Fine-grained reactivity prevents unnecessary widget rebuilds.

Weaknesses

  • Smaller ecosystem and community compared to Riverpod or Provider.
  • Requires careful adherence to tracking rules to avoid unmonitored signals.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3
final counter = Signal(0);

final disposeFn = Effect(() {
    print("The count is now \${counter.value}");
});

counter.value = 2;

Alternatives

Packages that do the same job and could replace flutter_solidart.

  • riverpod

    If you prefer a compile-safe, provider-based dependency injection and state management solution with a massive ecosystem.

  • flutter_bloc

    If you prefer a strict, event-driven architecture with predictable state transitions.

  • provider

    If you want a traditional, built-in Flutter inheritance-based state management approach.

Works with

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