# Premium Offers

The **Premium Widget** is a UI element that becomes available after SDK initialization. It is independent of the SDK itself and can be dragged into any **Canvas** within your application.

\
The **Premium Widget** provides seamless access to various offerwall features:

* **More Offers** – Opens the full offerwall.
* **Active Offers** – Displays active offers.
* Campaing record - Open the page with campaign details. &#x20;
* **Play** – Redirects users to the store.

This method returns a pre-built Flutter widget that displays a list of top offers. It provides several customization options to control the widget's appearance and behavior.

```dart
Tyrads.instance.topOffersWidget(
  BuildContext context, {
    PremiumWidgetStyles widgetStyle = PremiumWidgetStyles.list,
  }
)
```

#### 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 is `PremiumWidgetStyles.list`, which displays the offers in a list. Other available style is `PremiumWidgetStyles.sliderCards`, which displays the offers in a slider.

**Available Widget Style options**

<figure><img src="https://347922413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqqMYRbr0w4Hv3JxQUF7%2Fuploads%2Fgi6lJ2V1tOozjsIv6d6y%2FPremium%20option%2015.png?alt=media&#x26;token=38919515-2a7b-442e-8fa9-ad3cc55dfd5d" alt=""><figcaption><p>Option 1</p></figcaption></figure>

<figure><img src="https://347922413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqqMYRbr0w4Hv3JxQUF7%2Fuploads%2FjfIqaM6sZk8MquuAMc3I%2FFrame%201171276648.png?alt=media&#x26;token=65a17699-afd6-451b-a01f-b1c506987e0a" alt=""><figcaption><p>Option 2 </p></figcaption></figure>

Return Value:

* `Widget`: A Flutter `Widget` (specifically, a `TopOffersWidget`) that can be embedded in your application's UI.

#### Usage Example:

```dart
import 'package:tyrads_sdk/tyrads_sdk.dart';

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Offers')),
      body: Column(
        children: [
          Tyrads.instance.topOffersWidget(context),
          // ... other widgets
        ],
      ),
    );
  }
}
```
