---
title: "Flutter SDK: Attachments"
description: "Attach files to feedback and customer conversations with the Gleap Flutter SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/545-flutter-sdk-attachments
collection: "Flutter"
updated: 2026-11-01
language: en
---

# Flutter SDK: Attachments

Attach files to feedback and customer conversations with the Gleap Flutter SDK. Follow the integration code examples.

Gleap allows you to attach files to feedback items. This enables you to include application specific information, which Gleap doesn't collect by default.

### Add attachments

Gleap offers the following method to attach files to your feedback items. The attachments won't be removed after sending feedback as many customers requested them to be incremental. If you need to start over fresh after each report, simply use the `removeAllAttachments` method.

```dart
Gleap.addAttachment(base64file: yourBase64File, fileName: 'image.png');
```

> **Info:** The file size is limited to **1MB** for each file. In addition we limited the maximum files count to **6 files**. These limits make sure that the user doesn't have to transfer too much data while sending feedback.

### Remove attachments

Use the following method to remove all attachments.

```dart
Gleap.removeAllAttachments();
```

## 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)
