ZJTubeAdView constructor

const ZJTubeAdView(
  1. String posId, {
  2. Key? key,
  3. required double width,
  4. required double height,
  5. ZJTubeAdConfig? config,
  6. dynamic tubeAdListener(
    1. ZJEvent ret
    )?,
  7. TubeAdShowCustomUnlockDialogCallback? showCustomUnlockDialogCallback,
  8. TubeAdUnlockCallback? unlockCallback,
  9. required ZJTubeAdViewCreated onCreatedCallback,
  10. TubeAdPageEventCallback? pageEventCallback,
  11. TubeAdVideoEventCallback? videoEventCallback,
})

Implementation

const ZJTubeAdView(this.posId,
    {Key? key,
    required this.width,
    required this.height,
    this.config,
    this.tubeAdListener,
    this.showCustomUnlockDialogCallback,
    this.unlockCallback,
    required this.onCreatedCallback,
    this.pageEventCallback,
    this.videoEventCallback})
    : super(key: key);