diff --git a/lib/src/navigation/router_service.dart b/lib/src/navigation/router_service.dart index fe850f3..c9bea9b 100644 --- a/lib/src/navigation/router_service.dart +++ b/lib/src/navigation/router_service.dart @@ -74,8 +74,7 @@ class RouterService implements RouterServiceInterface { Future pop([T? result]) => router.pop(result); - /// An alias for pop for better readability - Future back({T? result}) => router.pop(result); + void back({T? result}) => router.navigateBack(); RoutingController topMostRouter({bool ignorePagelessRoutes = false}) => router.topMostRouter(