SplashAd constructor
SplashAd({
- required SplashAdType adType,
- SplashAdDisplayListener? displayListener,
- SplashAdLoadListener? loadListener,
- String? ownerText,
- String? logoResId,
- String? logoBgResId,
- String? mediaNameResId,
- String? sloganResId,
- String? wideSloganResId,
- 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');
}