R89InfiniteScrollAd constructor
const
R89InfiniteScrollAd({
- required int infiniteScrollId,
- required int itemIndex,
- BannerEventListener? lifecycleCallbacks,
- Key? key,
Creates a video or banner ad widget with specified
infiniteScrollId
previously returned by RefineryAdFactory.createInfiniteScroll,
itemIndex
item's position in the parent scrollable widget,
and optional lifecycleCallbacks
.
Implementation
const R89InfiniteScrollAd(
{required this.infiniteScrollId,
required this.itemIndex,
this.lifecycleCallbacks,
super.key});