Skip to content
pubscout

refena_flutter

3.7.0, released 3 weeks ago by refena.dev

A state management and dependency injection library for Dart and Flutter.

WASM-ready
$ flutter pub add refena_flutter
Source repository

What it does

Provides state management and dependency injection inspired by Riverpod and async_redux. It adds Flutter integration to the core Refena library, helping manage app state and rebuild widgets when it changes.

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

Use it when

  • You want a state management solution inspired by Riverpod and async_redux
  • You need to manage application state and dependency injection in Flutter

Skip it when

  • You prefer to use established alternatives like Provider, Riverpod, or Bloc

Strengths

  • Combines state management and dependency injection
  • Cross-platform support for Android, iOS, Web, Windows, macOS, and Linux

Weaknesses

  • Smaller ecosystem and community compared to major alternatives like Riverpod or Bloc
  • Documentation relies on external references for core changes

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Add refena_flutter to your pubspec.yaml dependencies.

dependencies:
  refena_flutter: ^3.7.0

Alternatives

Packages that do the same job and could replace refena_flutter.

  • riverpod

    A more widely adopted state management library with a large ecosystem and community.

  • bloc

    Predictable state management using the BLoC pattern with extensive tooling and testing support.

  • provider

    A simpler, officially recommended inherited widget wrapper for basic dependency injection and state management.

Works with

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