UnifiedWidget constructor

const UnifiedWidget(
  1. AMPSNativeAd? adNative, {
  2. Key? key,
  3. required String adId,
  4. required NativeUnifiedWidget? unifiedContent,
  5. AMPSUnifiedDownloadListener? downloadListener,
  6. AmpsNativeInteractiveListener? mInteractiveCallBack,
  7. AmpsVideoPlayListener? mVideoPlayerCallBack,
  8. AMPSNegativeFeedbackListener? mNegativeFeedbackListener,
  9. AMPSUnifiedDownloadListener? mDownloadListener,
})

Implementation

const UnifiedWidget(
  this.adNative, {
  super.key,
  required this.adId,
  required this.unifiedContent,
  this.downloadListener,
  this.mInteractiveCallBack,
  this.mVideoPlayerCallBack,
  this.mNegativeFeedbackListener,
  this.mDownloadListener,
});