didPushNext method
Called when a new route has been pushed, and the current route is no longer visible.
Implementation
@override
void didPushNext() {
// This method is called when a new route is pushed.
// You can perform actions when a new route is pushed.
debugPrint("didPushNext");
}