搜尋套件、儲存庫與 APP 分類

套件詳情v6.4.0

states_rebuilder

一個簡單而強大的 Flutter 狀態管理技術

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
1.9萬
喜歡數
409
Pub 分數
150

安裝套件

flutter pub add states_rebuilder

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

StatesRebuilder 是一個輕量級且直覺的 Flutter 狀態管理解決方案,透過專注於簡單性和效能來簡化反應式程式設計。它能根據狀態變更進行細粒度的 widget 重構,減少不必要的 UI 更新。此套件支援依賴注入,並與 Flutter 的反應式模型無縫整合,非常適合有效管理複雜應用狀態。以最少的樣板程式碼,促進乾淨、易讀的程式碼,並提升開發者生產力。

適用情境

  • 即時資料更新
  • 表單狀態管理
  • 複雜的使用者介面互動
  • 跨組件狀態共享
  • 動態主題切換

主要特色

  • 細粒度重構
  • 內建依賴注入
  • 最小化樣板程式碼
  • 反應式狀態更新
  • 與現有程式碼的輕鬆整合

適合對象

  • 從初學者到進階的Flutter開發者
  • 需要響應式 UI 的應用
  • 重視程式碼清晰度的專案
  • 狀態密集型應用
  • 尋求簡單狀態解決方案的團隊

使用建議

  • 新手可能需要一定的學習曲線
  • 與其他替代方案相比,文件較少
  • 在沒有架構規劃的情況下,不適合大型應用
  • 比流行套件的社群支援少

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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

所屬分類

依賴

依賴清單 3 項

原始碼儲存庫

使用此套件的專案