File tree 3 files changed +11
-4
lines changed
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
+
1
8
# 9.1.0
2
9
3
10
- 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> {
87
87
### Create a HydratedBloc
88
88
89
89
``` dart
90
- abstract class CounterEvent {}
91
- class CounterIncrementPressed extends CounterEvent {}
90
+ sealed class CounterEvent {}
91
+ final class CounterIncrementPressed extends CounterEvent {}
92
92
93
93
class CounterBloc extends HydratedBloc<CounterEvent, int> {
94
94
CounterBloc() : super(0) {
Original file line number Diff line number Diff line change 1
1
name : hydrated_bloc
2
2
description : 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
4
4
repository : https://github.com/felangel/bloc/tree/master/packages/hydrated_bloc
5
5
issue_tracker : https://github.com/felangel/bloc/issues
6
6
homepage : https://bloclibrary.dev
7
7
documentation : https://bloclibrary.dev/#/gettingstarted
8
8
9
9
environment :
10
- sdk : " >=2.12.0 <3 .0.0"
10
+ sdk : " >=2.12.0 <4 .0.0"
11
11
12
12
dependencies :
13
13
bloc : ^8.1.1
You can’t perform that action at this time.
0 commit comments