Search packages, repositories and app categories

Package detailsv6.4.0

states_rebuilder

a simple yet powerful state management technique for Flutter

AndroidiOSWebmacOSWindowsLinux
30-day downloads
18.7K
Likes
409
Pub points
150

Install package

flutter pub add states_rebuilder

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

StatesRebuilder is a lightweight and intuitive state management solution for Flutter that simplifies reactive programming with a focus on simplicity and performance. It enables fine-grained widget rebuilding based on state changes, reducing unnecessary UI updates. The package supports dependency injection and integrates seamlessly with Flutter’s reactive model, making it ideal for managing complex app states efficiently. With minimal boilerplate, it promotes clean, readable code and enhances developer productivity.

Use cases

  • Real-time data updates
  • Form state management
  • Complex UI interactions
  • Cross-widget state sharing
  • Dynamic theme switching

Key features

  • Fine-grained rebuilds
  • Built-in dependency injection
  • Minimal boilerplate
  • Reactive state updates
  • Easy integration with existing code

Suitable for

  • Beginner to advanced Flutter developers
  • Apps requiring responsive UIs
  • Projects prioritizing code clarity
  • State-heavy applications
  • Teams seeking simple state solutions

Considerations

  • May require learning curve for newcomers
  • Limited documentation compared to alternatives
  • Not ideal for very large-scale apps without architecture planning
  • Less community support than popular packages

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

States_rebuilder

pub package actions workflow codecov

`states_rebuilder` is Flutter state management combined with a dependency injection solution and an integrated router to provide the best state management experience, speeding up your development as well.

Documentation


Contributing

There are multiple ways and places you can contribute to make this package nicer. If you are wondering how to start please post an issue and we're here to help facilitate that.

  • Asking question, leaving suggestion
  • Code commits and pull requests
  • Youtube promotion or Medium tutorial

About states_rebuilder

It is a feature-rich state management sulution:

Performance

  • Predictable and controllable
  • Support for immutable / mutable state
  • Precise rebuild control

Code Clean

  • Separation of UI & business logic
  • Coding of business logic in pure Dart.
  • Zero Boilerplate without code-generation

User Friendly

  • Elegant and lightweight syntax
  • SetState & Animation in StatelessWidget.
  • Built-in dependency injection system
  • Rich built-in features
  • Saving states to localDB - Theme, multi-langs - Navigation, show dialogs without BuildContext

Efficient Productivity

  • CREATE, READ, UPDATE, and DELETE (CRUD) from rest-API or database
  • User authentication and authorization
  • App themes management
  • Internalization and localization

Maintainable

  • Easy to test and mock dependencies
  • State tracker middleware
  • Built-in debugging print function
  • Capable for complex Apps

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package