afterEnter method
This is called after the url and the historyState are updated and this VRouteElement was NOT in the previous route and is in the new route You can't prevent the navigation anymore You can get the new route parameters, and queryParameters
Note that you should consider the navigation cycle to
handle this precisely, see https://vrouter.dev/guide/Advanced/Navigation%20Control/The%20Navigation%20Cycle
Also see:
- VRouter.afterEnter for router level afterEnter
- VWidgetGuard.afterEnter for widget level afterEnter
Implementation
@override
void afterEnter(BuildContext context, String? from, String to) =>
voidAfterEnter(context, from, to);