Premium Offers
TopPremiumOffers Composable Function
Overview
The TopPremiumOffers
composable function is designed to display top premium offers within the application. It utilizes the TopOffers
composable to render the offers with specific settings.
Parameters:
The
context
parameter is required and should be the context of the widget that will display the top offers widget.The
widgetStyle
parameter is used to choose the style of the widget. The default style isPremiumWidgetStyles.LIST
, which displays the offers in a list. Other available style isPremiumWidgetStyles.SLIDERCARDS
, which displays the offers in a slider.
Available Widget Style options


Return Value:
Widget
: A FlutterWidget
(specifically, aTopOffersWidget
) that can be embedded in your application's UI.
Usage
To use this composable, you can call it through the Tyrads
instance like this:
Tyrads.getInstance().TopPremiumOffers(
widgetStyle = Tyrads.PremiumWidgetStyles.SLIDER_CARDS
)
Or, use the default values:
Tyrads.getInstance().TopPremiumOffers()
Last updated