AdScreenConfig class abstract

This class defines the "Single Tag" manual configuration for the screen.

Constructors

AdScreenConfig({required String screenName})
Creates an instance of AdScreenConfig for a given screenName, later use the AdScreenConfig to configure screen tags to place advertisements.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addBanner({required String tag, required bool getAllWithTag, bool wrapperRelativePositionAfter}) AdScreenConfig
Adds a tag to screen that will replaced by a R89Banner with specified r89ConfigId. getAllWithTag if true will replace all R89Tags on the screen with the same tag and display R89Banner instead. If false, will replace only the first one, the others will be ignored. wrapperRelativePositionAfter if true will put the R89Banner after the provided child, if false, before the provided child, in case there is no child provided in the R89Tag this parameter will be ignored.
addInfiniteScroll({required String tag}) AdScreenConfig
Adds a configuration to display advertisement inside the scrollable widget (such as ListView,GridView or other slivers) for a given r89ConfigId and tag
addInterstitial({String? eventToTrack, String? eventToTrackButton}) AdScreenConfig
Adds a configuration to display an interstitial with r89ConfigId for the screen transition or tap action. eventToTrack is the target screen name navigating to will display an interstitial with a given r89ConfigId eventToTrackButton a button tag name clicking on will display an interstitial with a given r89ConfigId
addOutStream({required String tag, required bool getAllWithTag, bool wrapperRelativePositionAfter}) AdScreenConfig
Adds a tag to screen that will replaced by a R89OutStream with specified r89ConfigId. getAllWithTag if true will replace all R89Tags on the screen with the same tag and display R89OutStream instead. If false, will replace only the first one, the others will be ignored. wrapperRelativePositionAfter if true will put the R89OutStream after the provided child, if false, before the provided child, in case there is no child provided in the R89Tag this parameter will be ignored.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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