BannerSize class

Defines the size of BannerAds. Only three ad sizes are supported. The width is flexible with 320px as minimum.

There are three predefined sizes:

Constructors

BannerSize({int width = 320, int height = 50})
const

Properties

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

Constants

LARGE → const BannerSize
MEDIUM_RECTANGLE → const BannerSize
STANDARD → const BannerSize