SplashAdLoader constructor

const SplashAdLoader({
  1. Key? key,
  2. required Widget child,
  3. required String appId,
  4. required String posId,
  5. SplashLoadingBuilder? loadingBuilder,
  6. double timeout = 3.5,
  7. String? appName,
  8. bool useTextureView = false,
  9. bool supportMultiProcess = false,
  10. bool allowShowNotify = true,
  11. List<int> directDownloadNetworkType = const <int>[],
  12. String? personalAdsType,
  13. VoidCallback? onInitSuccess,
  14. void onInitError(
    1. AdRequestError error
    )?,
  15. VoidCallback? onLoad,
  16. void onError(
    1. AdRequestError error
    )?,
  17. VoidCallback? onShow,
  18. VoidCallback? onClick,
  19. VoidCallback? onClosed,
  20. 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,
});