BannerAd class

Used for displaying banner ad near top and bottom edges of the screen

Properties

events Stream<AdEvent>
Stream of AdEvents that are related only to the placement described by the instance of this class.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
placementId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
simpleEvents Stream<AdEventType>
Stream of AdEventTypes that are related only to the placement described by the instance of this class.
no setterinherited

Methods

destroy() Future<void>
Destroy banner instance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show({BannerAlignment alignment = BannerAlignment.bottom}) Future<void>
Loads and shows banner ad
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

impressionDepth Future<int?>
Impression depth represents the amount of impressions of banner ads.
no setter