FluidAdManagerBannerAd constructor
FluidAdManagerBannerAd({
- required String adUnitId,
- required AdManagerBannerAdListener listener,
- required AdManagerAdRequest request,
- OnFluidAdHeightChangedListener? onFluidAdHeightChangedListener,
Creates a FluidAdManagerBannerAd.
These ads dynamically change their height based on the width.
Set onFluidAdHeightChangedListener
to get notified of height updates.
Implementation
FluidAdManagerBannerAd({
required String adUnitId,
required AdManagerBannerAdListener listener,
required AdManagerAdRequest request,
this.onFluidAdHeightChangedListener,
}) : super(
sizes: [FluidAdSize()],
adUnitId: adUnitId,
listener: listener,
request: request,
);