bool isSelected(String path) { final index = widget.router.tabs.indexWhere((e) => e.path == path); return tabController.index == index; }