setCurrentRoute method

void setCurrentRoute(
  1. String route,
  2. double appBarHeight
)

Implementation

void setCurrentRoute(String route, double appBarHeight) async{
  await Future.delayed(const Duration(milliseconds: 10));
  print("GÜNCELLENDİ : " + route);
  currentRoute = RxString(route);
  currentAppBarHeight = RxDouble(appBarHeight);
  update();
}