Goes back in navigation stack until Route found.
void backTo<T>({ Route? route, String? identifier, bool Function(Route<dynamic>)? predicate, Route? open, });