AdmostBanner constructor
AdmostBanner({
- Key? key,
- required String adUnitId,
- required AdmostBannerSize adSize,
- void listener(
- AdmostAdEvent,
- Map<
String, dynamic>
- void onBannerCreated()?,
- String? tag,
Implementation
AdmostBanner({
Key? key,
required this.adUnitId,
required this.adSize,
this.listener,
this.onBannerCreated,
this.tag
}) : super(key: key) {
if(adUnitId == null || adSize == null) {
print("adUnitId or adSize cannot be null!");
}
}