main function
void
main()
Implementation
void main() {
WidgetsFlutterBinding.ensureInitialized();
Fcm.onBackgroundMessage();
runApp(GetMaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
primaryColor: MyColors.primary,
primaryColorDark: MyColors.primaryDark,
primaryColorLight: MyColors.primaryLight,
bottomSheetTheme: BottomSheetThemeData(backgroundColor: Colors.transparent)
),
home: SplashScreen(),
routes: <String, WidgetBuilder>{
'/MenuRoute': (BuildContext context) => new MenuRoute(),
'/About': (BuildContext context) => new AboutAppRoute(),
}
));
}