MaxAdView constructor

const MaxAdView({
  1. Key? key,
  2. required String adUnitId,
  3. required AdFormat adFormat,
  4. AdViewId? adViewId,
  5. String? placement,
  6. String? customData,
  7. Map<String, String?>? extraParameters,
  8. Map<String, dynamic>? localExtraParameters,
  9. AdViewAdListener? listener,
  10. bool isAutoRefreshEnabled = true,
  11. double? width,
  12. double? height,
})

Creates an AdView ad that embeds directly into the widget tree.

Implementation

const MaxAdView({
  Key? key,
  required this.adUnitId,
  required this.adFormat,
  this.adViewId,
  this.placement,
  this.customData,
  this.extraParameters,
  this.localExtraParameters,
  this.listener,
  this.isAutoRefreshEnabled = true,
  this.width,
  this.height,
}) : super(key: key);