SplashAdLoader constructor
const
SplashAdLoader({
- Key? key,
- required Widget child,
- required String appId,
- required String posId,
- SplashLoadingBuilder? loadingBuilder,
- String? logo,
- double timeout = 3.5,
- String? appName,
- bool useTextureView = false,
- bool supportMultiProcess = false,
- bool allowShowNotify = true,
- List<
int> directDownloadNetworkType = const <int>[], - String? personalAdsType,
- VoidCallback? onInitSuccess,
- void onInitError(
- AdRequestError error
- VoidCallback? onLoad,
- void onError(
- AdRequestError error
- VoidCallback? onShow,
- VoidCallback? onClick,
- VoidCallback? onClosed,
- Duration? hotStartInterval,
Implementation
const SplashAdLoader({
super.key,
required this.child,
required this.appId,
required this.posId,
this.loadingBuilder,
this.logo,
this.timeout = 3.5,
this.appName,
this.useTextureView = false,
this.supportMultiProcess = false,
this.allowShowNotify = true,
this.directDownloadNetworkType = const <int>[],
this.personalAdsType,
this.onInitSuccess,
this.onInitError,
this.onLoad,
this.onError,
this.onShow,
this.onClick,
this.onClosed,
this.hotStartInterval,
});