LoadingScreen constructor
LoadingScreen(
- GlobalKey<
State< globalKey,StatefulWidget> > - bool darkTheme
Implementation
factory LoadingScreen(GlobalKey globalKey, bool darkTheme) {
instance ??= LoadingScreen._(globalKey, darkTheme);
return instance!;
}