SplashAd constructor

SplashAd({
  1. required SplashAdType adType,
  2. SplashAdDisplayListener? displayListener,
  3. SplashAdLoadListener? loadListener,
  4. String? ownerText,
  5. String? footerText,
  6. String? logoResId,
  7. String? logoBgResId,
  8. String? mediaNameResId,
  9. String? sloganResId,
  10. String? wideSloganResId,
  11. int? audioFocusType,
})

Implementation

SplashAd({
  required this.adType,
  this.displayListener,
  this.loadListener,
  this.ownerText,
  this.footerText,
  this.logoResId,
  this.logoBgResId,
  this.mediaNameResId,
  this.sloganResId,
  this.wideSloganResId,
  this.audioFocusType,
}) {
  splashAds[id] = this;
  _streamSplash = EventChannel('$_SPLASH_EVENT_CHANNEL/$id');
}