class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
builder: BotToastInit(), //1. call BotToastInit
navigatorObservers: [BotToastNavigatorObserver()],
debugShowCheckedModeBanner: false,
title: 'Pak Coins',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MySplashScreen(),
);
}
}
this is my MyApp Class where want to call 2 builder
- BotToastInit(),
- EasyLoading.init() how i call both of this? builder: //here ,