flutter_bloc_pattern
Bloc provider. Provides bloc to descendant widget (O(1)), and the bloc is disposed appropriately by state which the bloc_provider holds internally.
3.0.0
8.6K downloads/mo
#3131 most downloaded on pub.dev
hoc081098/flutter_bloc_pattern
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 2.0 years
Nearly every release is documented
notes for 15 of 15 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
17 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
17 releases · Feb 2019 to Jun 2024Releases
latest 17-
3.0.018 Jun 2024Release notes
Open source →https://pub.dev/packages/flutter_bloc_pattern/versions/3.0.0
- Update dependencies:
rxdart_extto^0.3.0.
- Change Flutter constraint to
'>=3.10.0'(requiresFlutter 3.10or later). - Change Dart SDK constraint to
'>=3.0.0 <4.0.0'(requiresDart 3.0or later).
Full Changelog: 2.3.0...3.0.0
- Update dependencies:
-
2.3.003 Jun 2022Release notes
Open source →https://pub.dev/packages/flutter_bloc_pattern/versions/2.3.0
- Update
rxdart_extto0.2.2.
What's Changed
- chore(deps): update codecov/codecov-action action to v3 by @renovate in #22
- fix(deps): update dependency rxdart_ext to ^0.2.0 by @renovate in #20
- chore(deps): update subosito/flutter-action action to v2 by @renovate in #19
- chore(deps): update actions/checkout action to v3 by @renovate in #18
Full Changelog: 2.2.0...2.3.0
- Update
-
2.2.023 Sep 2021Release notes
Open source →https://pub.dev/packages/flutter_bloc_pattern/versions/2.2.0
- Update dependencies:
rxdart_extto0.1.2.flutter_providerto2.1.0.
- Change sdk constraint
>=2.14.0 <3.0.0and flutter constraint>=2.5.0. - Migrated from
pedantictoflutter_lints. - Added
RxStreamBuilder.checkStateStreamEnabledallows checking invalid state caused byStateStreams.// enabled when running in debug or profile mode RxStreamBuilder.checkStateStreamEnabled = !kReleaseMode;
- Update dependencies:
-
2.1.121 May 2021Release notes
Open source →https://pub.dev/packages/flutter_bloc_pattern/versions/2.1.1
- Fix
RxStreamBuilder: missing passKey? keyto parent constructor.
- Fix
-
2.1.010 May 2021Release notes
Open source →https://pub.dev/packages/flutter_bloc_pattern/versions/2.1.0
- Update
rxdartto0.27.0. RxStreamBuildernow accepts aValueStream.
- Update
-
2.0.003 Mar 2021 -
2.0.0-nullsafety.121 Jan 2021 pre-release -
2.0.0-nullsafety.020 Jan 2021 pre-releaseRelease notes
Open source →- Migrate this package to null safety.
- Sdk constraints:
>=2.12.0-0 <3.0.0based on beta release guidelines. - Depends on flutter_provider package.
So bloc will be created lazy i.e. on the first access. - Added extension
BuildContext.bloc<T>({bool listen = false}). It is identical withBlocProvider<T>.of(BuildContext, {bool listen = false}). - Changed signature of
builderinRxStreamBuilder(builder: )constructor toWidget Function(BuildContext, T?).
Previous signature isWidget Function(BuildContext, AsyncSnapshot<T>). - Fixed many issues.
- Many improvements.
Release notes
Open source →- Migrate this package to null safety.
- Sdk constraints:
>=2.12.0-0 <3.0.0based on beta release guidelines. - Depends on flutter_provider package. So bloc will be created lazy i.e. on the first access.
- Added extension
BuildContext.bloc<T>({bool listen = false}). It is identical withBlocProvider<T>.of(BuildContext, {bool listen = false}). - Changed signature of
builderinRxStreamBuilder(builder: )constructor toWidget Function(BuildContext, T?). Previous signature isWidget Function(BuildContext, AsyncSnapshot<T>). - Fixed many issues.
- Many improvements.
-
1.2.022 Apr 2020 -
1.1.207 Feb 2020Release notes
Open source →1.1.2 - 07 February 2020
- Remove
assert(child != null)and@required childinBlocProviderconstructor
Release notes
Open source →- Remove
assert(child != null)and@required childinBlocProviderconstructor
- Remove
-
1.1.107 Feb 2020 -
1.1.017 Dec 2019 -
1.0.110 Aug 2019 -
1.0.009 Aug 2019 -
1.0.0+109 Aug 2019 -
0.0.108 Feb 2019 -
0.0.1+108 Feb 2019