# Slider Widget

Slider widget is used to allow users to select a value from a range by dragging a thumb along a track. It's commonly used for selecting a value within a range, such as volume control or brightness adjustment.

<figure><img src="/files/E539qshI0gy8nUxyqZ3X" alt="Slider"><figcaption><p>Slider</p></figcaption></figure>

To utilize an Slider in your Flutter UI, adhere to these steps:

**1.** Drag the Slider widget from the Insert menu and drop it into your desired location within your UI.

**2.** Customize the appearance and behavior of the Slider by adjusting its properties in the editing section on the right.

### Components of Progress Slider Widget

| Component                   | Description                                                                                                                                  |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| **Align Icons**             | Click icons or use shortcut keys to align Slider Widget. For example, click "Align Left" or use Ctrl+Shift+Left to left-align Slider Widget. |
| **Postitions**              | Set Slider Widget positions on the X and Y axis of the mobile canvas.                                                                        |
| **Margin**                  | Adjust Slider Widget margin from top, bottom, left, or right by specifying margin values.                                                    |
| **Slider value**            | Set the slider value to determine the range shown in the slider according to your needs.                                                     |
| **Label**                   | Assign a label text to the slider according to your needs.                                                                                   |
| **Min & Max**               | Set the minimum and maximum range in the slider to represent your data progress.                                                             |
| **Divisions**               | Set the number of divisions you want to show in your slider.                                                                                 |
| **Slider Color**            | This will give the color to your slider according to your needs.                                                                             |
| **Slider Background Color** | This will give the background color to your slider according to your needs.                                                                  |
| **Visible**                 | By checking the checkbox, the entire selected slider widget will be hidden.                                                                  |

If you have any ideas to make Blup better you can share them through our [Discord community channel](https://discord.com/channels/940632966093234176/965313562425823303)

## Music to go with.

{% embed url="<https://open.spotify.com/playlist/0vvXsWCC9xrXsKd4FyS8kM?si=2c7f55bd3f944878>" %}
Lofi music
{% endembed %}


---

# 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://docs.blup.in/wiki/design-ui/insert-widgets/slider-widget.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.
