getInstance<T> static method
ScreenLoader<T>
getInstance<T>({
- required BuildContext context,
- bool holdable = true,
- required OnScreenLoaderMixin<
T> mixin, - required List<
ScreenLoaderItem< loaders,T> >
Implementation
static ScreenLoader<T> getInstance<T>({
required BuildContext context,
bool holdable = true,
required OnScreenLoaderMixin<T> mixin,
required List<ScreenLoaderItem<T>> loaders,
}) {
return Singleton.instanceOf(() {
return ScreenLoader<T>._(
context: context,
holdable: holdable,
mixin: mixin,
loaders: loaders,
);
});
}