reactter
8.0.0, released 2 years ago by 2devs.io
Reactive state management, dependency injection, and event handling for Dart/Flutter
WASM-ready
What it does
Reactter provides a lightweight, granular reactive system that lets you manage state, inject dependencies, and handle events with minimal boilerplate. It supports both Dart and Flutter, offers a devtools extension for debugging, and is fully testable with 100% coverage.
AI-written summary of version 8.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a fast, zero-dependency state solution with granular reactivity
- You want to avoid code generation and keep the setup simple
- You need built-in dependency injection and event handling in one package
Skip it when
- You rely heavily on code generation patterns like freezed or json_serializable
- You prefer a more opinionated architecture like Bloc or Riverpod
Strengths
- Zero dependencies and no code generation
- Fast and lightweight with granular reactivity
- Built-in devtools and full test coverage
- Supports both Dart and Flutter
Weaknesses
- Smaller ecosystem compared to Riverpod
- Less mature documentation and community examples
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
import 'package:reactter/reactter.dart';
final counter = RtState(0);
void increment() => counter.value++;
Alternatives
Packages that do the same job and could replace reactter.
Works with
Packages commonly used together with reactter: ones it builds on, ones built on it, and its own family.