better_effect_flutter 0.3.0 copy "better_effect_flutter: ^0.3.0" to clipboard
better_effect_flutter: ^0.3.0 copied to clipboard

Flutter MVVM integration for better_effect with typed EffectCommand state, scoped Runtime bootstrap, and one-shot UI listeners.

0.3.0 #

  • Added package:better_effect_flutter/testing.dart, re-exporting the core testing toolkit with Flutter-specific Command and widget helpers.
  • Added EffectCommandProbe waits and history assertions, typed sealed-state extractors, EffectCommandListenerProbe for one-shot delivery, and BetterEffectTestApp for externally owned Runtime widget tests.

0.2.0 #

  • Effect Commands now start work through core EffectExecution handles.
  • Command cancellation and disposal request cooperative core interruption while retaining onCancel as an optional adapter hook.
  • Command debug labels now flow into Runtime execution metadata.
  • Existing drop, latest, and queue state-authority semantics remain unchanged; latest does not cancel stale work unless a future policy opts in.
  • Runtime shutdown interruption now reaches visible Command state.
  • Added explicit BetterEffectRuntimeOwnership values for external, widget, and application-owned Runtimes.
  • Added BetterEffectLifecyclePolicy for widget disposal, application exit, cooperative interruption, and shutdown grace periods.
  • Providers and bootstrap roots now remove a Runtime from the widget tree before lifecycle-triggered shutdown begins.
  • Runtime replacement closes the previous owned Runtime exactly once, while BetterEffectProvider.value never assumes ownership.
  • BetterEffectBootstrap now restarts when backendFactory changes and closes stale startup attempts safely.
  • Existing closeRuntimeOnDispose and closeRuntimeOnDetach constructor arguments remain as deprecated migration parameters.
  • Added deterministic regression coverage for queue cancellation, retained physical ownership, Command disposal versus Runtime shutdown, repeated cancellation races, and stale latest completions.

0.1.1 #

  • Expanded the package documentation with complete bootstrap, Command, ViewModel, widget, lifecycle, testing, and concurrency guidance.
  • Updated the hosted better_effect dependency to 0.1.1.

0.1.0 #

  • Added EffectCommand0 and typed-input EffectCommand.
  • Added sealed idle/running/success/failure/defect/interrupted UI states.
  • Added drop, latest, and queue execution policies.
  • Added one-shot EffectCommandListener, builder, and consumer widgets.
  • Added EffectCommands, EffectViewModel, and automatic command disposal.
  • Added BetterEffectScope, provider, bootstrap widget, and app bootstrap helper.
  • Added an MVVM task application example and Flutter test suite.
0
likes
160
points
254
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Flutter MVVM integration for better_effect with typed EffectCommand state, scoped Runtime bootstrap, and one-shot UI listeners.

Repository (GitHub)
View/report issues

Topics

#flutter #mvvm #dependency-injection #state-management #effects

License

MIT (license)

Dependencies

better_effect, flutter

More

Packages that depend on better_effect_flutter