blackbox_flutter 0.2.1
blackbox_flutter: ^0.2.1 copied to clipboard
Flutter bindings for Blackbox (BoxObserver + BoxProvider + persistence adapters).
0.2.1 #
- Debug aid: a
BoxObserverwhose 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:computesignatures withoutprevious, deprecated legacy removed.
0.1.2 #
BoxProvider.multiasserts 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 withgraph.boxesfrom blackbox 0.9.2.
0.1.1 #
BoxProvider/BoxOverride/context.boxacceptProvidableBox— 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/CachedValueBoxwithfetch,MultiBox.child(initial)/connect,graph.settled()/toMermaid(). See the blackbox changelog and README migration table.
0.0.9 #
- Fixed:
SharedPrefsStorecan now store the persistence envelope ({'v': ..., 'ts': ...}): maps are transparently encoded as JSON strings inSharedPreferencesand decoded back onpreload(). Previously anyPersistedbox crashed withUnsupportedErroron 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>andBoxProvider.overrides(...)for type-safe dependency injection and widget testing.
0.0.5 #
- Breaking: removed
ObservableFlowBoxand legacyBoxObserver.trackBox(...). BoxObservernow uses shared tracking runtime fromblackbox_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@observableboxes. - 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
blackboxto^0.1.0 - Updated docs/examples to the
Graphnaming
0.0.2 #
- Initial release