---
title: "Flutter SDK: Ticket attributes"
description: "Set and clear ticket attribute values with the Gleap Flutter SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/543-flutter-sdk-ticket-attributes
collection: "Flutter"
updated: 2026-11-01
language: en
---

# Flutter SDK: Ticket attributes

Set and clear ticket attribute values with the Gleap Flutter SDK. Follow the integration code examples.

## Set ticket attributes

Ticket attributes can be set with the method below. If the user also provides data for an attribute (for example `description`), the user input will be prioritized.

```javascript
Gleap.setTicketAttribute(key: 'title', value: 'Developer title');
```

**First param**: attribute key  
**Second param**: value (string, boolean, string array or number are supported)

Ticket attribute data will not be [pre-filled](https://gleap-developer-docs.gleap.help/en/articles/555-flutter-sdk-prefill-the-widget-form) in forms.

## Finding the ticket attribute keys

You can find or create all available ticket attributes for each ticket type in **Settings → Inbox & tickets → Data attributes**.

![Current ticket attributes and Field ID column in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/0BfQwIf0vwqGcjqKp2pDJs2Wct5xgcwVKlLmBiX5jzmoMQ19JQ9l5ideimrvht7xbFbV7UzNJRC.png)

## Unset ticket attributes

Ticket attributes can be unset with the method below.

```javascript
Gleap.unsetTicketAttribute(key: 'title');
```

## Clear all ticket attributes

All ticket attributes can be cleared with the method below.

```javascript
Gleap.clearTicketAttributes();
```

## Related

- [Flutter SDK setup](https://docs.gleap.ai/en/articles/531-flutter-sdk-setup.md)
- [Flutter SDK: User identity](https://docs.gleap.ai/en/articles/532-flutter-sdk-user-identity.md)
- [Flutter SDK: Track events](https://docs.gleap.ai/en/articles/533-flutter-sdk-track-events.md)
- [Flutter SDK: Track pages](https://docs.gleap.ai/en/articles/534-flutter-sdk-track-pages.md)
- [Flutter SDK: Frontend tools](https://docs.gleap.ai/en/articles/535-flutter-sdk-frontend-tools.md)
