manage_state 1.0.7 copy "manage_state: ^1.0.7" to clipboard
manage_state: ^1.0.7 copied to clipboard

A Flutter package for state management without relying on external packages.

Pub Version Likes Popularity

☕ Buy Me a Coffee #

Buy Me a Coffee

🌱 Reactive State Package (Flutter) #

A Flutter package for efficient state management without relying on external state management packages. It provides a simple and flexible way to manage both simple and complex state types with automatic UI updates when the state changes.

📱 User Interface #

  • Main Screen: Demonstrates the usage of reactive state management, updates UI when state changes, and uses Observer to reflect changes.

  • Performance Monitoring: Tracks state change frequency and UI rebuilds.

  • State Management Example: A simple counter app showcasing the core features of the package.

🏗️ Architecture & Technologies #

Component Description
Reactive State management for simple (e.g., integers) and complex (e.g., nested) data
Computed Automatically computes values based on dependencies
Observer Widget that listens to reactive state and rebuilds when the state changes
Flutter Native UI framework for Android & iOS
Dart Programming language used for business logic
flutter_test For writing unit and widget tests

🧩 Design Pattern #

This package follows a clean and efficient design pattern:\

  • Model: The reactive data (e.g., counter, label)
  • View: The UI (Widgets) that reflects state changes
  • Controller: Manages and updates the state using Reactive and Computed

⚙️ Setup #

To install the manage_state package, add the following to your pubspec.yaml file:

dependencies:
  manage_state: ^1.0.7

flutter pub get

📦 Supported SDKs

Android: SDK 23 and above

Flutter: Stable channel
1
likes
160
points
317
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for state management without relying on external packages.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on manage_state