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

GitHub 儲存庫s0nerik/context_plus

context_plus

基於 BuildContext 的值傳播與觀察,使用方便。與 Flutter 內建的可觀察性原語無縫整合。

context_plus 專案封面
星標
38
分支
6
最近推送(UTC)
2026年3月8日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

icon.png
context_plus

showcase

A set of packages that provide a convenient way to propagate a value from a parent widget to its descendants and observe changes to any observable value.

Packages

Package Pub Description
context_watch context_watch .watch(context)
.watchOnly(context, () => ...)
.watchEffect(context, () => ...)

for Listenable, Future, Stream
context_ref context_ref Ref.bind(context, () => ...)
Ref.bindLazy(context, () => ...)
Ref.bindValue(context, ...)
Ref.of(context)
context_plus context_plus All of context_watch
All of context_ref

+

.watch(context)
.watchOnly(context, () => ...)
.watchEffect(context, () => ...)

for Ref<Listenable>, Ref<Future>, Ref<Stream>

Integrations

Package Pub Description
context_watch_bloc context_watch_bloc .watch(context)
.watchOnly(context, () => ...)
.watchEffect(context, () => ...)

for Bloc and Cubit
context_watch_mobx context_watch_mobx .watch(context)
.watchOnly(context, () => ...)
.watchEffect(context, () => ...)

for Observable
context_watch_getx context_watch_getx .watch(context)
.watchOnly(context, () => ...)
.watchEffect(context, () => ...)

for Rx
context_watch_signals context_watch_signals .watch(context)
.watchOnly(context, () => ...)
.watchEffect(context, () => ...)

for Signal
Sasha Isaienko GitHub avatar
GitHub 作者

Sasha Isaienko ↗

Wrocław, Poland官方網站 ↗
語言DartC++PythonCMakeRubySwiftHTMLCShellKotlinObjective-C

使用的依賴

依賴清單 1 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗