blackbox_flutter 0.2.1 copy "blackbox_flutter: ^0.2.1" to clipboard
blackbox_flutter: ^0.2.1 copied to clipboard

Flutter bindings for Blackbox (BoxObserver + BoxProvider + persistence adapters).

0.2.1 #

  • Debug aid: a BoxObserver whose build read no boxes prints a warning (once per observer) — it will never rebuild, and the usual cause is reads moved into a nested builder, outside tracking.

0.2.0 #

  • Requires blackbox ^0.10.0 — the subtraction release: compute signatures without previous, deprecated legacy removed.

0.1.2 #

  • BoxProvider.multi asserts on two boxes of the same runtime type — context.box<T>() cannot tell twins apart, so the collision is now loud instead of silently resolving to the last one. Pairs with graph.boxes from blackbox 0.9.2.

0.1.1 #

  • BoxProvider/BoxOverride/context.box accept ProvidableBox — MultiBox composites can now be provided and resolved like any box.

0.1.0 #

  • Requires blackbox ^0.9.0 — the model release: state cells (state(..., persist: ...)), CachedBox/CachedValueBox with fetch, MultiBox.child(initial)/connect, graph.settled()/toMermaid(). See the blackbox changelog and README migration table.

0.0.9 #

  • Fixed: SharedPrefsStore can now store the persistence envelope ({'v': ..., 'ts': ...}): maps are transparently encoded as JSON strings in SharedPreferences and decoded back on preload(). Previously any Persisted box crashed with UnsupportedError on its first save. Legacy raw primitive values remain readable.
  • Update dependency: blackbox ^0.8.0, blackbox_support ^0.0.7

0.0.8 #

  • Update dependency: blackbox ^0.7.0, blackbox_support ^0.0.6

0.0.7 #

  • Refresh README examples and persistence setup docs for SharedPrefsStore.preload().
  • Update dependency: blackbox ^0.4.1

0.0.6 #

  • Add BoxOverride<T> and BoxProvider.overrides(...) for type-safe dependency injection and widget testing.

0.0.5 #

  • Breaking: removed ObservableFlowBox and legacy BoxObserver.trackBox(...).
  • BoxObserver now uses shared tracking runtime from blackbox_support; tracked reads come from core hooks.
  • Update dependency: blackbox ^0.2.0, blackbox_support ^0.0.2

0.0.4 #

  • Added ObservableOutputSource.reportRead() as the generated tracking hook for @observable boxes.
  • Deprecated BoxObserver.trackBox(...); keep it only for legacy generated code.
  • Documented that observable tracking should be used through blackbox_codegen, not via manual calls.

0.0.3 #

  • Updated dependency on blackbox to ^0.1.0
  • Updated docs/examples to the Graph naming

0.0.2 #

  • Initial release
0
likes
140
points
196
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter bindings for Blackbox (BoxObserver + BoxProvider + persistence adapters).

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

blackbox, blackbox_support, flutter, meta, shared_preferences

More

Packages that depend on blackbox_flutter