flutter_bloc 9.1.1  flutter_bloc: ^9.1.1 copied to clipboard
flutter_bloc: ^9.1.1 copied to clipboard
Flutter widgets that make it easy to implement the BLoC (Business Logic Component) design pattern. Built to be used with the bloc state management package.
9.0.0 #
8.1.5 #
8.1.4 #
8.1.3 #
8.1.2 #
- chore: add screenshots to pubspec.yaml(#3717)
- chore(deps): upgrade to bloc ^8.1.1(#3716)
- chore: update example to Dart 2.19 (#3715)
- refactor: BlocObserverinstances to useconstconstructors (#3713)
- refactor: remove unnecessary single child widget mixins (#3675)
- refactor: upgrade to Flutter 3.7 (#3699)
- remove deprecated invariant_booleanslint rule
 
- remove deprecated 
8.1.1 #
- chore: remove dependency overrides from example to fix pana score
8.1.0 #
8.0.1 #
8.0.0 #
- BREAKING: feat: upgrade to bloc v8.0.0
8.0.0-dev.3 #
- BREAKING: feat: upgrade to bloc v8.0.0-dev.5
8.0.0-dev.2 #
- BREAKING: feat: upgrade to bloc v8.0.0-dev.3
8.0.0-dev.1 #
- BREAKING: feat: upgrade to bloc v8.0.0-dev.2
7.3.2 #
- fix: BlocProviderexplicitly defaultlazytotrueto supportavoid_redundant_argument_values(#2917)
7.3.1 #
- fix: determine bloc reference changes via identical- Previously identityHashCodewas used to determine if the bloc reference had changed to trigger a rebuild (#2482) however, it's possible for different bloc references to have the samehashCodeas a result of hash collisions. The fix usesidenticalto determine whether the bloc reference has changed.
 
- Previously 
- docs: add inline docs to library
- docs: minor improvements to example and README
- chore: remove unneeded imports
7.3.0 #
- feat: upgrade to bloc: ^7.2.0
7.2.0 #
- feat: upgrade to provider: ^6.0.0
7.1.0 #
- feat: add BlocSelectorwidget
7.0.1 #
- fix: BlocConsumer,BlocBuilder, andBlocListenerdepend on bloc/cubit instance- when a provided bloc instance changes, BlocConsumer,BlocBuilder, andBlocListenerwill all update to use the new instance
 
- when a provided bloc instance changes, 
- docs: update BlocBuilderandBlocListenerinline API docs to includebuildWhenandlistenWhen
7.0.0 #
- BREAKING: refactor: rename cubitparameter tobloc- refactor: rename cubitparameter inBlocListenertobloc
- refactor: rename cubitparameter inBlocBuildertobloc
- refactor: rename cubitparameter inBlocConsumertobloc
 
- refactor: rename 
- BREAKING: opt into null safety
- upgrade Dart SDK constraints to >=2.12.0-0 <3.0.0
 
- upgrade Dart SDK constraints to 
- BREAKING: refactor: remove deprecated context.repository
- feat: upgrade to bloc: ^7.0.0
- feat: upgrade to provider: ^5.0.0
7.0.0-nullsafety.6 #
- chore: bump to bloc: ^7.0.0-nullsafety.4
7.0.0-nullsafety.5 #
- BREAKING: refactor: remove deprecated context.repository
7.0.0-nullsafety.4 #
- chore: bump to provider: ^5.0.0
7.0.0-nullsafety.3 #
- chore: bump to bloc: ^7.0.0-nullsafety.3
- chore: bump to provider: ^5.0.0-nullsafety.5
7.0.0-nullsafety.2 #
- chore: bump to bloc: ^7.0.0-nullsafety.2
7.0.0-nullsafety.1 #
- BREAKING: refactor: upgrade to bloc ^7.0.0-nullsafety.1- refactor: rename cubitparameter inBlocListenertobloc
- refactor: rename cubitparameter inBlocBuildertobloc
- refactor: rename cubitparameter inBlocConsumertobloc
 
- refactor: rename 
- feat: upgrade to provider ^5.0.0-nullsafety.3
7.0.0-nullsafety.0 #
- BREAKING: opt into null safety
- feat!: upgrade Dart SDK constraints to >=2.12.0-0 <3.0.0
7.0.0-dev.2 #
- BREAKING: revert 7.0.0-dev.1
- BREAKING: remove context.blocextension
- BREAKING: rename cubitparameter inBlocListenertovalue
- BREAKING: rename cubitparameter inBlocBuildertovalue
- BREAKING: rename cubitparameter inBlocConsumertovalue
- docs: update inline API docs
7.0.0-dev.1 #
- BREAKING: remove dependency on package:provider
- feat: add optional listen to BlocProvider
- feat: add ListenProviderExtension
- docs: improve inline documentation for BlocProviderandRepositoryProvider
6.1.3 #
- feat: expose ProviderNotFoundException
- chore: upgrade to bloc ^6.1.3
- chore: upgrade to provider ^4.3.3
6.1.2 #
- fix: BlocProvider.valueuseInheritedProvider.value
6.1.1 #
- fix: BlocConsumerdoes not respectbuildWhenand results in unnecessary rebuilds
6.1.0 #
- feat: add optional listentoBlocProviderandRepositoryProvider
- feat: add context.select<T, R>(R Function(T value))which allows widgets to listen to only a small part of the state ofT(R)
- feat: add context.watch<T>()which allows widgets to listen to changes in the state ofT
- feat: add context.read<T>()which allows widgets to accessTwithout listening for changes
- deprecated: context.blocin favor ofcontext.readandcontext.watch
- deprecated: context.repositoryin favor ofcontext.readandcontext.watch
- fix: rethrow ProviderNotFoundExceptionfromRepositoryProviderfor external dependencies
- docs: improve inline documentation for BlocProviderandRepositoryProvider
- docs: update list of examples in README
6.0.6 #
- docs: improve inline documentation for buildWhen
6.0.5 #
- fix: BlocBuilderbuilderandbuildWhenstate mismatch
6.0.4 #
- fix: state synchronization issue when providing a condition
6.0.3 #
- refactor: BlocConsumerrequires a single subscription
- refactor: BlocBuilderextendsBlocListener
- refactor: MultiRepositoryProviderextendsMultiProvider
6.0.2 #
- docs: fix missing API documentation generated by dartdoc
6.0.1 #
- docs: minor documentation fixes and improvements
6.0.0 #
- BREAKING: upgrade to bloc ^6.0.0
- BREAKING: BlocBuilderinterop withcubit(blocparameter renamed tocubit)
- BREAKING: BlocListenerinterop withcubit(blocparameter renamed tocubit)
- BREAKING: BlocConsumerinterop withcubit(blocparameter renamed tocubit)
- feat: remove external dependency on package:flutter_cubit
- docs: inline documentation updates
- docs: README updates
- docs: example application updates
6.0.0-dev.1 #
- BREAKING: upgrade to bloc ^6.0.0-dev.1
- BREAKING: BlocBuilderinterop withcubit(blocparameter renamed tocubit)
- BREAKING: BlocListenerinterop withcubit(blocparameter renamed tocubit)
- BREAKING: BlocConsumerinterop withcubit(blocparameter renamed tocubit)
- feat: remove external dependency on package:flutter_cubit
- docs: inline documentation updates
- docs: README updates
- docs: example application updates
5.0.1 #
- fix: upgrade to bloc ^5.0.1
- docs: minor documentation updates
5.0.0 #
- BREAKING: conditiononBlocBuilderrenamed tobuildWhen
- BREAKING: conditiononBlocListenerrenamed tolistenWhen
- BREAKING: upgrade to bloc v5.0.0
- refactor: internal implementation updates to use flutter_cubit
- docs: various improvements
- docs: logo updates
5.0.0-dev.5 #
- Update to bloc: ^5.0.0-dev.11
- Minor README updates
5.0.0-dev.4 #
- Update to bloc: ^5.0.0-dev.10
- Minor README updates
5.0.0-dev.3 #
- Update to bloc: ^5.0.0-dev.7
5.0.0-dev.2 #
- Update to bloc: ^5.0.0-dev.6
- Update to flutter_cubit ^0.0.12
- Various Documentation Updates
5.0.0-dev.1 #
- Update to bloc: ^5.0.0-dev.3
- Internal implementation updates to use flutter_cubit
4.0.0 #
- Update to bloc: ^4.0.0
- Update to provider: ^4.0.5
4.0.0-dev.4 #
- Update to bloc: ^4.0.0-dev.4
4.0.0-dev.3 #
- Update to bloc: ^4.0.0-dev.3
4.0.0-dev.2 #
- Update to bloc: ^4.0.0-dev.2
4.0.0-dev.1 #
- Update to bloc: ^4.0.0-dev.1
3.2.0 #
3.1.0 #
3.0.0 #
3.0.0-dev.1 #
- Updated to bloc: ^3.0.0-dev.1
2.1.1 #
- Fix internal analysis warnings
- Enforce provider ^3.2.0
2.1.0 #
- Deprecate builderinBlocProviderin favor ofcreateto align withprovider.
- Deprecate builderinRepositoryProviderin favor ofcreateto align withprovider.
2.0.1 #
- Fix BlocBuilderandBlocListenercondition behavior to setpreviousStateto the previous state used byBlocBuilder/BlocListenerinstead of the previous state of thebloc.
- Minor Documentation Updates
2.0.0 #
- Updated to bloc: ^2.0.0and Documentation Updates
- Adhere to effective dart (#561)
1.0.0 #
Updated to bloc: ^1.0.0 and Documentation Updates
0.22.1 #
Minor Bugfixes and Documentation Updates
0.22.0 #
Updated to bloc: ^0.16.0 and Documentation Updates
0.21.0 #
Updated to bloc: ^0.15.0 and Documentation Updates
0.20.1 #
- Minor Updates to Package Dependencies
- Documentation Updates
0.20.0 #
0.19.1 #
Add optional condition to BlocListener to control listener calls (#406) and Documentation Updates
0.19.0 #
Addresses #354
BlocProvider
- Refactor BlocProviderto extendProvider
- Rename BlocProviderTreetoMultiBlocProvider
ImmutableProvider
- Refactor ImmutableProviderto extendProvider
- Rename ImmutableProvidertoRepositoryProvider
- Rename ImmutableProviderTreetoMultiRepositoryProvider
BlocListener
- Rename BlocListenerTreetoMultiBlocListener
Documentation
- Inline documentation updates/improvements
0.18.1 #
Minor Documentation Updates
0.18.0 #
Expose ImmutableProvider & ImmutableProviderTree to enable developers to provide immutable values, such as repositories, throughout the widget tree (#364) and Documentation Updates
0.17.0 #
Update BlocProvider to automatically dispose the provided bloc (#349) and Documentation Updates
0.16.0 #
0.15.0 #
Added optional condition to BlocBuilder to control widget rebuilds (#315) and Documentation Updates
0.14.0 #
Updated to bloc: ^0.14.0 and Documentation Updates
0.13.0 #
Updated to bloc: ^0.13.0 and Documentation Updates
0.12.0 #
Added BlocListenerTree and Documentation Updates
0.11.1 #
Broaden Dart version range and Minor Documentation Updates
0.11.0 #
Updated to bloc: ^0.12.0 and Documentation Updates
0.10.1 #
Invoke BlocWidgetListener on initial state and Documentation Updates
0.10.0 #
Added BlocListener and Documentation Updates
0.9.1 #
Minor Updates to Documentation.
0.9.0 #
Updated to bloc: ^0.11.0 and Documentation Updates
0.8.0 #
Updated to bloc: ^0.10.0 and Documentation Updates
0.7.1 #
Minor Updates to Documentation.
0.7.0 #
Added BlocProviderTree and Documentation Updates
0.6.3 #
Updated to bloc:^0.9.3 and Minor Updates to Documentation
0.6.2 #
Additional Minor Updates to Documentation
0.6.1 #
Minor Updates to Documentation
0.6.0 #
Updated to bloc: ^0.9.0
0.5.4 #
Additional Minor Updates to Documentation
0.5.3 #
Additional Minor Updates to Documentation
0.5.2 #
Minor Updates to Documentation
0.5.1 #
BlocProvider performance improvements
0.5.0 #
Updated to bloc: ^0.8.0
0.4.12 #
Additional Minor Updates to Documentation
0.4.11 #
Additional Minor Updates to Documentation
0.4.10 #
Additional BlocBuilder enhancements
- BlocBuilderno longer filters out States giving developers full control
Minor Updates to Documentation and Examples
0.4.9 #
Additional BlocBuilder enhancements
- BlocBuilderno longer has a dependency on- RxDart
- Using bloc: ">=0.7.5 <0.8.0"
0.4.8 #
Additional BlocProvider performance improvements
0.4.7 #
Minor Updates to Documentation and Examples
0.4.6 #
Bug Fixes
- Fixed bug where BlocBuilderwould return initial state instead of the latest state
0.4.5 #
Additional Minor Updates to Documentation
0.4.4 #
Minor updates to documentation and improved error reporting in BlocProvider
0.4.3 #
BlocBuilder performance improvements
0.4.2 #
BlocProvider performance improvements
0.4.1 #
Minor Updates to Documentation
0.4.0 #
Updated to bloc: ^0.7.0
0.3.1 #
Minor Updates to Documentation
0.3.0 #
Updated to bloc: ^0.6.0
0.2.1 #
Minor Updates to Documentation
0.2.0 #
Updates to BlocBuilder and BlocProvider
- BlocBuilderdoes not automatically dispose a- Bloc. Developers are now responsible for determining when to call- Bloc.dispose()
- BlocProvidersupport for- of(context)with generics- Support for multiple nested BlocProviderswith different Bloc Types.
 
- Support for multiple nested 
0.1.1 #
Minor Updates to Documentation
0.1.0 #
Initial Version of the library.
- Includes the ability to connect presentation layer to Blocby using theBlocBuilderWidget.
- Includes BlocProvider, a DI widget that allows a single instance of a bloc to be provided to multiple widgets within a subtree.




