BannerHandler class
- Inheritance
-
- Object
- BaseAdHandler
- BannerHandler
Constructors
- BannerHandler({required String adUnitId})
Properties
- ad → BannerAd?
-
no setter
- adSize → AdSize?
-
no setter
- adUnitId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isIdle → bool
-
no setterinherited
- isLoaded → bool
-
no setterinherited
- isShowing → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ AdState
-
getter/setter pairinherited
- widget → Widget
-
no setter
Methods
-
dispose(
) → void -
override
-
load(
) → Future< bool> -
override
-
loadAdaptive(
{required double screenWidth, bool collapsible = false}) → Future< bool> - Load an adaptive banner. Must be called with screen width.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → Future< bool> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited