Skip to content

Commit 82bcd27

Browse files
committed
+Rename canGoBack to canGoBackward for consistency
1 parent d20c83e commit 82bcd27

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/src/route_controller.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class RouteController {
7575
//
7676
//
7777

78-
bool get canGoBack => _pNavigationState.getValue().index > 0;
78+
bool get canGoBackward => _pNavigationState.getValue().index > 0;
7979
bool get canGoForward =>
8080
_pNavigationState.getValue().index <
8181
_pNavigationState.getValue().routes.length - 1;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ funding:
1919
- https://github.com/sponsors/t0mb3rr
2020
- https://www.buymeacoffee.com/dev_cetera
2121
description: A lightweight router designed for ease of use and efficient state management.
22-
version: 0.5.1
22+
version: 0.5.2
2323
topics:
2424
- router
2525
- navigation

0 commit comments

Comments
 (0)