File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1+ # 9.1.1
2+
3+ - docs: upgrade to Dart 3 ([ #3809 ] ( https://github.com/felangel/bloc/pull/3809 ) )
4+ - refactor: standardize analysis_options ([ #3809 ] ( https://github.com/felangel/bloc/pull/3809 ) )
5+ - refactor: fix ` unawaited ` sdk constraint ([ #3809 ] ( https://github.com/felangel/bloc/pull/3809 ) )
6+ - refactor: update sdk constraints and fix analysis warnings ([ #3809 ] ( https://github.com/felangel/bloc/pull/3809 ) )
7+
18# 9.1.0
29
310- chore: add screenshots to ` pubspec.yaml ` ([ #3721 ] ( https://github.com/felangel/bloc/pull/3721 ) )
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ class CounterCubit extends HydratedCubit<int> {
8787### Create a HydratedBloc
8888
8989``` dart
90- abstract class CounterEvent {}
91- class CounterIncrementPressed extends CounterEvent {}
90+ sealed class CounterEvent {}
91+ final class CounterIncrementPressed extends CounterEvent {}
9292
9393class CounterBloc extends HydratedBloc<CounterEvent, int> {
9494 CounterBloc() : super(0) {
Original file line number Diff line number Diff line change 11name : hydrated_bloc
22description : An extension to the bloc state management library which automatically persists and restores bloc states.
3- version : 9.1.0
3+ version : 9.1.1
44repository : https://github.com/felangel/bloc/tree/master/packages/hydrated_bloc
55issue_tracker : https://github.com/felangel/bloc/issues
66homepage : https://bloclibrary.dev
77documentation : https://bloclibrary.dev/#/gettingstarted
88
99environment :
10- sdk : " >=2.12.0 <3 .0.0"
10+ sdk : " >=2.12.0 <4 .0.0"
1111
1212dependencies :
1313 bloc : ^8.1.1
You can’t perform that action at this time.
0 commit comments