code: Hardcoded route names
'/IntroScreen': (context) => IntroScreen(),
'/BaseClass': (context) => BaseClass(),
'/SearchProcedure': (context) => SearchProcedure(),
'/SettingsHome': (context) => SettingsHome(),
'/ViewCDMStatewise': (context) => ViewCDMStatewise(),
'/CompareHospitals': (context) => CompareHospitals(),
'/About': (context) => About(),
'/CompareHospitalsScreen': (context) => CompareHospitalsScreen(),
The routes are hardcoded. In my opinion, we should make a static variable for every class/screen to access their route names.
Edited by Suryansh Singh Tomar