Skip to content

Commit

Permalink
docs(core_concepts): fix order of super.onChange (#3245)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzwx authored Feb 24, 2022
1 parent b6c5514 commit dc60205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_snippets/core_concepts/counter_bloc_on_error.dart.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class CounterBloc extends Bloc<CounterEvent, int> {
@override
void onChange(Change<int> change) {
print(change);
super.onChange(change);
print(change);
}
@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ class CounterCubit extends Cubit<int> {
@override
void onChange(Change<int> change) {
print(change);
super.onChange(change);
print(change);
}
}
```

0 comments on commit dc60205

Please sign in to comment.