MaxNativeAdView constructor
const
MaxNativeAdView({
- Key? key,
- required String adUnitId,
- String? placement,
- String? customData,
- Map<
String, String?> ? extraParameters, - Map<
String, dynamic> ? localExtraParameters, - NativeAdListener? listener,
- double? width = double.infinity,
- double? height = double.infinity,
- MaxNativeAdViewController? controller,
- required Widget child,
Creates a native ad view with the native ad components. The user needs to lay out a native ad view with the native ad components using the standard Flutter widgets.
Implementation
const MaxNativeAdView({
Key? key,
required this.adUnitId,
this.placement,
this.customData,
this.extraParameters,
this.localExtraParameters,
this.listener,
this.width = double.infinity,
this.height = double.infinity,
this.controller,
required this.child,
}) : super(key: key);