AdropPopupAd class
AdropPopupAd class responsible for requesting popup ads and displaying them to the user.
unitId required Ad unit ID
listener optional invoked when a response from load, show method called back.
closeTextColor optional text color of close button
hideForTodayTextColor optional text color of hideForToday button
backgroundColor optional background color of buttons
Constructors
- AdropPopupAd.new({required String unitId, AdropPopupListener? listener, Color? closeTextColor, Color? hideForTodayTextColor, Color? backgroundColor})
Properties
- backgroundColor ↔ Color?
-
getter/setter pair
- browserTarget → BrowserTarget?
-
Returns an Adrop ad's browser target.
no setterinherited
- campaignId → String
-
Returns an Adrop ad's campaign id.
no setterinherited
- closeTextColor ↔ Color?
-
getter/setter pair
- creativeId → String
-
Returns an Adrop ad's creativeId.
no setterinherited
-
creativeIds
→ List<
String> -
Returns an Adrop ad's creativeIds.
no setter
- destinationURL → String
-
Returns an Adrop ad's destination url.
no setterinherited
-
extraLoadArgs
→ Map<
String, dynamic> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideForTodayTextColor ↔ Color?
-
getter/setter pair
- isLoaded → bool
-
Returns
trueif an Adrop ad is loaded.no setterinherited - listener → AdropAdListener?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- txId → String
-
Returns an Adrop ad's transaction id.
no setterinherited
- unitId → String
-
Returns an Adrop ad's unitId.
no setterinherited
Methods
-
close(
) → Future< void> -
closeAd(
) → Future< void> -
Requests to close a popup ad.
inherited
-
customize(
[dynamic data]) → Future< void> -
Requests to customize a popup ad.
inherited
-
dispose(
) → Future< void> -
Dispose the Adrop ad to free resources.
inherited
-
load(
) → Future< void> - Requests an ad from Adrop using the Ad unit ID of the Adrop ad.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → Future< void> -
Requests to show an ad from Adrop using the Ad unit ID of the Adrop ad.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited