AdsterNativeCustomAd constructor

const AdsterNativeCustomAd({
  1. Key? key,
  2. required String adPlacementName,
  3. required AdsterNativeCustomAdBuilder onAdLoaded,
  4. required AdsterAdErrorBuilder onFailure,
  5. Widget? loadingWidget,
  6. AdsterNativeAdCallback? callback,
  7. Map<String, String>? customTargetArgs,
  8. String? publisherProvidedId,
})

Implementation

const AdsterNativeCustomAd({
  super.key,
  required this.adPlacementName,
  required this.onAdLoaded,
  required this.onFailure,
  this.loadingWidget,
  this.callback,
  this.customTargetArgs,
  this.publisherProvidedId,
});