# 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="/files/pmkTkVXEfP8BjgHKJ7SK" alt=""><figcaption><p>Option 1</p></figcaption></figure>

<figure><img src="/files/zMADmZXKS3LZtzT4sJkN" 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
        ],
      ),
    );
  }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk-doc.tyrads.com/v3.0/flutter/initialization/premium-offers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
