systemPop method
Future<void>
systemPop({
- Map<
String, String> pathParameters = const {}, - Map<
String, String> queryParameters = const {}, - String? hash,
- Map<
String, String> newHistoryState = const {},
inherited
Starts a systemPop cycle
systemPop cycle:
- onSystemPop is called in all VWidgetGuards
- onSystemPop is called in the nested-most VRouteElement of the current route
- onSystemPop is called in VRouter
- pop is called
In any of the above steps, we can use vRedirector
if you want to redirect or
stop the navigation
Implementation
@override
Future<void> systemPop({
Map<String, String> pathParameters = const {},
Map<String, String> queryParameters = const {},
String? hash,
Map<String, String> newHistoryState = const {},
}) async =>
vRouterDelegate.systemPop(
pathParameters: pathParameters,
queryParameters: queryParameters,
hash: hash,
newHistoryState: newHistoryState,
);