AdSize class

AdSize represents the size of a banner ad.

Constructors

AdSize({required int width, required int height})
Constructs an AdSize with the given width and height.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
height int
The vertical span of an ad.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The horizontal span of an 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.
override

Constants

large → const AdSize
Represents the fixed banner ad size - 320dp by 90dp.
medium → const AdSize
Represents the fixed banner ad size - 300dp by 250dp.
standard → const AdSize
Represents the fixed banner ad size - 320dp by 50dp.