selectedRoute property
String
selectedRoute
Implementation
String get selectedRoute => _selectedRoute ?? "404";
Implementation
set selectedRoute(String route) {
_selectedRoute = route;
_selectedTab = config
.where((element) =>
DartBoardCore.instance.confirmRouteExists(element["route"]))
.toList()
.indexOf(selectedConfig);
notifyListeners();
}