afterEnter property

void Function(BuildContext context, String? from, String to) afterEnter
final

Called when the url changes and this VWidgetGuard was NOT part of the previous route.

This is called after the url and the state of you app has change so any data in VRouteElementData is up to date

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:

Implementation

final void Function(BuildContext context, String? from, String to) afterEnter;