void popUntil(bool Function(Route<dynamic>) predicate) { // TODO: Set the current transition this.navigatorKey.currentState!.popUntil(predicate); }