YodoNativeAd constructor

const YodoNativeAd({
  1. Key? key,
  2. NativeSize size = NativeSize.nativeSmall,
  3. String backgroundColor = "",
  4. void onLoad()?,
  5. void onClosed()?,
  6. void onLoadFailed(
    1. String errorMessage
    )?,
})

This widget is used to contain Native Ads.

Implementation

const YodoNativeAd({
  Key? key,
  this.size = NativeSize.nativeSmall,
  this.backgroundColor = "",
  this.onLoad,
  this.onClosed,
  this.onLoadFailed,
}) : super(key: key);