didPush method
function for checking and handling routes Push
behavior and stop playing audio.
Implementation
@override
void didPush(Route<dynamic> route, Route<dynamic>? previousRoute) {
if (route is PageRoute<dynamic>) {
_handleRouteChanged(route);
}
}