MySplashGate constructor
MySplashGate({
- required bool hasOverlay,
- required bool hasBrandLottie,
- required bool hasStaticBrandFace,
- Duration minVisible = const Duration(milliseconds: 300),
- Duration brandTimeout = const Duration(seconds: 8),
- Duration bootstrapTimeout = const Duration(seconds: 20),
- List<
MyBootstrapTask> ? tasks, - VoidCallback? onVisible,
- bool showWindowAfterFirstFrame = false,
- bool focusWindowAfterFirstFrame = false,
- void onError(
- Object error,
- StackTrace stack
Implementation
MySplashGate({
required this.hasOverlay,
required this.hasBrandLottie,
required this.hasStaticBrandFace,
this.minVisible = const Duration(milliseconds: 300),
this.brandTimeout = const Duration(seconds: 8),
this.bootstrapTimeout = const Duration(seconds: 20),
List<MyBootstrapTask>? tasks,
this.onVisible,
this.showWindowAfterFirstFrame = false,
this.focusWindowAfterFirstFrame = false,
this.onError,
}) : tasks = List<MyBootstrapTask>.unmodifiable(tasks ?? const []);