setCurrentRoute method
Implementation
void setCurrentRoute(String route, double appBarHeight) async{
await Future.delayed(const Duration(milliseconds: 10));
currentRoute = RxString(route);
currentAppBarHeight = RxDouble(appBarHeight);
update();
}