NativeBannerAdSize class

Defines the size of Native Banner Ads. Only three ad sizes are supported. The width is flexible with predefined heights as follow:

  • HEIGHT_50 (Includes: Icon, Title, Context and CTA button)
  • HEIGHT_100 (Includes: Icon, Title, Context and CTA button)
  • HEIGHT_120 (Includes: Icon, Title, Context, Description and CTA button)

Constructors

NativeBannerAdSize({int? height})
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

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