tbloc_dart 0.20.1 copy "tbloc_dart: ^0.20.1" to clipboard
tbloc_dart: ^0.20.1 copied to clipboard

A dart library that helps you to implement the BLoC pattern.

Changelog #

0.20.1 (2023-02-10) #

Features #

  • Added canInitialize property to blocs

0.20.0 (2023-01-24) #

Features #

  • Rebuild only when initializing.
  • Rebuild only when busy.
  • force to rebuild when busy even if buildWhen is set.
  • force to rebuild when initializing even if buildWhen is set

Enhancements #

  • Update dependencies.

0.19.2 (2022-10-12) #

Enhancements #

  • Update dependencies.

0.19.1 (2022-10-11) #

Enhancements #

  • minor improvements.

0.19.0 (2022-02-08) #

Enhancements #

  • Update dependencies.
  • Update sdk requirements.

0.18.3 (2021-08-12) #

Enhancements #

  • Update dependencies.

0.18.2 (2021-07-09) #

Enhancements #

  • minor improvements.

0.18.1 (2021-07-04) #

Enhancements #

  • minor performance improvement.

0.18.0 (2021-07-04) #

Features #

  • Allow to perform cancellable Async Operations.

Enhancements #

  • Removed logger dependency.

0.17.1 (2021-07-02) #

Fixes #

  • Made sure the buildWhen method returns correct states.

0.17.0 (2021-07-01) #

Enhancements #

  • Minor improvements.

Breaking Changes #

  • Updated tmodel dependency.

0.16.1 (2021-06-28) #

Enhancements #

  • Update dependencies.

0.16.0 (2021-05-17) #

Features #

  • Added a way for BlocBuilder widgets to wait for data. (beta)

0.15.0 (2021-05-16) #

Enhancements #

  • Minor improvements.

0.15.0-beta.0 (2021-04-05) #

Features #

  • buildWhen: Allow to only re-build a widget when a certain condition is satisfied.

0.14.1 (2021-03-30) #

Enhancements #

  • Allow to override the default behavior of the close method.

0.14.0 (2021-03-28) #

Enhancements #

  • Stable nullsafety.

0.14.0-nullsafety.1 (2021-03-08) #

Fixes #

  • Fixes regression.

0.14.0-nullsafety.0 (2021-03-05) #

Enhancements #

  • Supports sound null safety.

0.13.1 (2020-12-25) #

Fixes #

  • Minor fixes.

0.13.0 (2020-12-24) #

Enhancements #

  • Bloc's state extends from TModel class.

0.12.1 (2020-12-18) #

Fixes #

  • Fixed regressions.

0.12.0 (2020-12-14) #

Fixes #

  • Fixed currentState safety within mapEventToState.

Enhancements #

  • Allow to skip some BloC's events.
  • added debounceEvent and debounce methods.

0.11.0 (2020-12-10) #

Enhancements #

  • Minor improvements.

Breaking Changes #

  • Renamed dispatchEvent to addEvent.
  • Renamed dispose to close.

0.10.2 (2020-11-29) #

Enhancements #

  • added stackTrace property to BlocError.

0.10.1 (2020-11-11) #

Enhancements #

  • Minor improvements.

0.10.0 (2020-10-19) #

Features #

  • Added helpers for throttling events.

0.9.0 (2020-10-10) #

Enhancements #

  • Minor improvements.

Breaking Changes #

  • Requires dart 2.10.0

0.8.0 (2020-10-01) #

Breaking Changes #

  • the method mapEventToState doesn't pass the bloc's state as a parameter anymore

0.7.1 (2020-09-20) #

Features #

  • added isInitializing and isInitialized properties to the abstract Bloc class.

0.7.0 (2020-09-19) #

Features #

  • Add isInitialized and isInitializing properties to BlocState.
  • Add BlocError Object.

Breaking Changes #

  • Add type property to the BlocEvent.
  • Remove BloC's reset method.

0.6.1 (2020-09-03) #

Features #

  • Provide BlocBuilderWidget2 and BlocBuilderWidget3 widgets.

Fixes #

  • Only log a warning when an internal error is not handled.

0.6.0 (2020-09-02) #

Breaking Changes #

  • Refactor BloC's internal errors handling.

Fixes #

  • Minor fixes.

0.5.1 (2020-08-02) #

Fixes #

  • Make sure errors are dispatched correctly.

0.5.0 (2020-08-01) #

Breaking changes #

  • BlocBuilder callback function takes a third argument, Support errors that could occur.

Fixes #

  • Avoid to dispatch null states.

0.4.0 (2020-06-25) #

Features #

  • Add Multi Blocs provider

0.3.0 (2020-05-18) #

Features #

  • Add hydrated blocs (beta)
  • Add initState method to the abstract Bloc Class

Breaking changes #

  • Bloc parameter stateBuilder has been renamed initialStateBuilder

0.2.0 (2019-12-22) #

Features #

  • First release
0
likes
130
pub points
57%
popularity

Publisher

unverified uploader

A dart library that helps you to implement the BLoC pattern.

Repository (GitHub)
View/report issues

Documentation

API reference

License

ISC (LICENSE)

Dependencies

async, flutter, meta, provider, rxdart, subx, tmodel_dart, tuple

More

Packages that depend on tbloc_dart