prior property
Tracks the segement which was just popped off the route.
When Flutter animates a screen transition, it rebuilds both the current and new screens. During this interim period, it is conventient to still have access to the data in the route segment that was just popped, even though it is not the final route segment anymore. This is where we store that value.
Implementation
final List<AFRouteSegment> prior;