FluidAdManagerBannerAd class
An 'AdManagerBannerAd' that has fluid ad size.
These ads will dynamically adjust their height to match the width of the ad. This should be used with FluidAdWidget, which displays the ad in a widget that adjusts its height to the height of the platform rendered ad.
- Inheritance
-
- Object
- Ad
- AdWithView
- AdManagerBannerAd
- FluidAdManagerBannerAd
Constructors
- FluidAdManagerBannerAd({required String adUnitId, required AdManagerBannerAdListener listener, required AdManagerAdRequest request, OnFluidAdHeightChangedListener? onFluidAdHeightChangedListener})
- Creates a FluidAdManagerBannerAd.
Properties
- adUnitId → String
-
Identifies the source of Ads for your application.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- listener → AdManagerBannerAdListener
-
A listener for receiving events in the ad lifecycle.
finalinherited
- onFluidAdHeightChangedListener ↔ OnFluidAdHeightChangedListener?
-
Listener for when the height of the ad changes.
getter/setter pair
- request → AdManagerAdRequest
-
Targeting information used to fetch an Ad.
finalinherited
- responseInfo ↔ ResponseInfo?
-
Contains information about the loaded request.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sizes
→ List<
AdSize> -
Ad sizes supported by this AdManagerBannerAd.
finalinherited
Methods
-
dispose(
) → Future< void> -
Frees the plugin resources associated with this ad.
inherited
-
getPlatformAdSize(
) → Future< AdSize?> -
Returns the AdSize of the associated platform ad object.
inherited
-
load(
) → Future< void> -
Starts loading this ad.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited