Skip to content

Commit

Permalink
Update services.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
7Eltantawy committed Feb 23, 2024
1 parent 3cf6db7 commit 17d6376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alazkar/lib/services.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AppBlocObserver extends BlocObserver {
super.onChange(bloc, change);
if (bloc is Cubit) {
printColor(
'[Cubit] currentState: ${change.currentState.runtimeType} | nextState: ${change.nextState.runtimeType}',
'[Cubit] currentState: ${change.currentState} | nextState: ${change.nextState}',
color: PrintColors.red,
);
}
Expand All @@ -43,7 +43,7 @@ class AppBlocObserver extends BlocObserver {
void onTransition(Bloc bloc, Transition transition) {
super.onTransition(bloc, transition);
printColor(
'[Bloc] event: ${transition.event.runtimeType} | currentState: ${transition.currentState.runtimeType} | nextState: ${transition.nextState.runtimeType}',
'[Bloc] event: ${transition.event} | currentState: ${transition.currentState} | nextState: ${transition.nextState}',
color: PrintColors.magenta,
);
}
Expand Down

0 comments on commit 17d6376

Please sign in to comment.