AdFormat enum
Specifies the general shape that the ad unit should conform to.
See docs for details.
Values
- AUTO → const AdFormat
-
Default which enables the auto-sizing behavior for the responsive ad unit
const AdFormat('auto') - HORIZONTAL → const AdFormat
-
Use horizontal shape
const AdFormat('horizontal') - RECTANGLE → const AdFormat
-
Use rectangle shape
const AdFormat('rectangle') - VERTICAL → const AdFormat
-
Use vertical shape
const AdFormat('vertical') - HORIZONTAL_RECTANGLE → const AdFormat
-
Use horizontal and rectangle shape
const AdFormat('horizontal,rectangle') - HORIZONTAL_VERTICAL → const AdFormat
-
Use horizontal and vertical shape
const AdFormat('horizontal,vertical') - RECTANGLE_VERTICAL → const AdFormat
-
Use rectangle and vertical shape
const AdFormat('rectangle,vertical') - HORIZONTAL_RECTANGLE_VERTICAL → const AdFormat
-
Use horizontal, rectangle and vertical shape
const AdFormat('horizontal,rectangle,vertical') - FLUID → const AdFormat
-
Fluid ads have no fixed size, but rather adapt to fit the creative content they display
const AdFormat('fluid')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited