bloc_error_control 1.2.0 copy "bloc_error_control: ^1.2.0" to clipboard
bloc_error_control: ^1.2.0 copied to clipboard

Declarative error handling for BLoC with Zones and optional code generation

1.2.0 #

  • Added Signals (Side Effects) support: a parallel stream for one-time events (Snackbars, Navigation, etc.)
  • Added IBlocControl interface: centralized management of signals, tokens, and diagnostics
  • Added mapErrorToSignal: a new declarative way to handle transient errors without changing the business state
  • Added BlocSignalListener widget: context-aware listener for targeted signal handling
  • Improved Zone-based infrastructure: signals are now linked to specific events

1.1.2 #

  • Changed ErrorStateFor annotation - now generic
  • Fixed dependencies
  • Updated example project
  • Updated README

1.1.1 #

  • fixing dependencies

1.1.0 #

  • Initial release of split packages.
  • Support for BLoC 9.0.

1.0.1 #

  • Updated dependencies to support flutter_bloc 9.x
  • flutter_bloc: '>=8.1.6 <10.0.0'
  • bloc: '>=8.0.0 <10.0.0'

1.0.0 #

  • Initial release
  • Added BlocErrorControlMixin with Zone-based error isolation
  • Added ICancelToken for automatic request cancellation
  • Added optional code generation with @BlocErrorControl and @ErrorStateFor
  • Added comprehensive tests and benchmarks
1
likes
0
points
445
downloads

Publisher

unverified uploader

Weekly Downloads

Declarative error handling for BLoC with Zones and optional code generation

Repository (GitHub)
View/report issues

Topics

#bloc #error-handling #flutter #code-generation

License

unknown (license)

Dependencies

flutter, flutter_bloc, meta

More

Packages that depend on bloc_error_control