FLUTTER ECOSYSTEM

listen_it

Flutter 的反應式原語 - 可觀察集合與強大的運算子。像使用 Streams 一樣使用 ValueNotifiers。包含 ListNotifier、MapNotifier、SetNotifier。先前發布為 functional_listener。

最新版本
5.3.5
近 30 天下載
7300
喜歡數
13
Pub 分數
140

Package Overview

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

套件概覽

ListenIt 是一個用於 Flutter 的反應式狀態管理套件,提供如 ListNotifier、MapNotifier 和 SetNotifier 等可觀察集合,讓開發者能像使用 Streams 一樣操作 ValueNotifiers。它提供強大的運算子來轉換和組合資料流,促進函數式反應式程式設計風格。最初發布為 functional_listener,透過極少的樣板程式碼簡化狀態更新與訂閱。非常適合用於管理響應式 UI 中的動態資料。

適用情境
  • Real-time data synchronization
  • Dynamic list or map state management
  • Reactive UI updates with minimal code
  • Stream-like behavior for ValueNotifiers
  • Complex state transformations
主要特色
  • Observable collections (ListNotifier, MapNotifier, SetNotifier)
  • Stream-like operators for ValueNotifiers
  • Functional reactive programming model
  • Minimal boilerplate
  • Cross-platform support
適合對象
  • Developers seeking lightweight reactive state management
  • Projects requiring reactive collections
  • Teams familiar with functional programming patterns
  • Apps with frequent dynamic data updates
  • Flutter apps targeting multiple platforms
使用建議
  • May require learning reactive programming concepts
  • Best suited for moderate to complex state logic
  • Not ideal for simple static state
  • Performance impact with very large datasets
  • Limited documentation compared to mature alternatives
支援平台AndroidiOSWebmacOSWindowsLinux

安裝套件

flutter pub add listen_it

所屬分類

原始碼儲存庫

相關專案