MApplication constructor
const
MApplication({
- Key? key,
- required MApplicationOption option,
- required Future<
MApplicationConfig> configLoader({- required MApplicationOption option,
- required List<
GetPage> pages(), - required Widget loadingPage(),
- required Widget errorPage(),
- required Future<
String> initialRoute(), - void initState()?,
- Future<
void> setup()?, - ThemeData? theme,
Implementation
const MApplication({
super.key,
required this.option,
required this.configLoader,
required this.pages,
required this.loadingPage,
required this.errorPage,
required this.initialRoute,
this.initState,
this.setup,
this.theme,
});