Skip to content

Commit

Permalink
error debugging on custom_pop_scope.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
luis901101 committed Aug 14, 2024
1 parent 637c8e0 commit f0a2765
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/utils/custom_pop_scope.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class CustomPopScope<T> extends StatelessWidget {
if (canPop && context.mounted) {
Navigator.of(context).pop(result);
}
}).onError((error, stackTrace) {
debugPrint('Error: $error');
});
},
child: child,
Expand Down

0 comments on commit f0a2765

Please sign in to comment.