createInfiniteScroll abstract method
int
createInfiniteScroll({
- required String configurationId,
- InfiniteScrollEventListener? lifecycleCallbacks,
Returns an infiniteScrollId that should be used next by getInfiniteScrollAdForIndex method
to create a ad widget, the infiniteScrollId serves as a group id for the advertisements
inside the scrollable widget, such as ListView, GridView, and other sliver based scrolls.
configurationId ID used to fetch the unit configuration.
Implementation
int createInfiniteScroll(
{required String configurationId, InfiniteScrollEventListener? lifecycleCallbacks});