@override RouteData? get currentChild { if (_activeIndex < _pages.length) { return _pages[_activeIndex].routeData; } else { return null; } }