afterUpdate property

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

Called when the url changes and this VWidgetGuard was already 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

Implementation

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