AdSize enum
The size of an ad.
Values
- w320h50 → const AdSize
-
A banner ad (320x50).
const AdSize(320, 50) - w320h100 → const AdSize
-
A large banner ad (320x100).
const AdSize(320, 100) - w300h250 → const AdSize
-
A medium rectangle ad (300x250).
const AdSize(300, 250) - w468h60 → const AdSize
-
A full banner ad (468x60).
const AdSize(468, 60) - w728h90 → const AdSize
-
A leaderboard ad (728x90).
const AdSize(728, 90)
Properties
- aspectRatio → double
-
The aspect ratio of the ad.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
The height of the ad.
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
The width of the ad.
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