CommonBannerAd class
Common Banner API build on top of inventory + DreamBannerAd.
Constructors
- CommonBannerAd({required String key, required String defaultUnitId, AdInventoryConfig? config})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inventory → BannerInventory
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setListener(
DreamBannerAdListener listener) → void -
show(
BuildContext context, [Widget container = const SizedBox.shrink()]) → Future< DreamAdResult> - Show banner và trả về widget qua DreamAdCompleted.adWidget.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited