AnchoredAdaptiveSizeSpec class

Anchored adaptive banner (the recommended default).

Resolved via AdSize.getLargeAnchoredAdaptiveBannerAdSize (or the WithOrientation variant when orientation is set) — or, for AnchoredBannerSize.classic, via the classic anchored adaptive query.

Inheritance

Constructors

AnchoredAdaptiveSizeSpec({required int width, AdOrientation? orientation, AnchoredBannerSize size = AnchoredBannerSize.large})
Creates a spec for an anchored adaptive banner of width logical px.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
orientation → AdOrientation?
Lock the size to an orientation instead of the current one.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → AnchoredBannerSize
Large (the default) or classic anchored adaptive.
final
width → int
Available width in logical pixels (truncated screen width, typically).
final

Methods

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