BannerAd class Null safety

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.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
placementId String
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
simpleEvents Stream<AdEventType>
Stream of AdEventTypes that are related only to the placement described by the instance of this class.
read-onlyinherited

Methods

destroy() Future<void>
Destroy banner instance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
read-only