---
title: "Set Up Feature Flags"
description: "With Feature Flags, Sentry tracks feature flag evaluations in your application, keeps an audit log of feature flag changes, and reports any suspicious updates that may have caused an error."
url: https://docs.sentry.io/platforms/dart/feature-flags/
---

# Set Up Feature Flags | Sentry for Dart

## [Prerequisites](https://docs.sentry.io/platforms/dart/feature-flags.md#prerequisites)

* [Sentry SDK](https://docs.sentry.io/platforms/dart.md#configure) version `9.0.0`.

## [Enable Evaluation Tracking](https://docs.sentry.io/platforms/dart/feature-flags.md#enable-evaluation-tracking)

If you use a third-party SDK to evaluate feature flags, you can enable Sentry to track those evaluations. Integrations are provider specific, and documentation for supported SDKs is listed below:

* [Firebase Remote Config](https://docs.sentry.io/platforms/dart/configuration/integrations/firebase-remote-config.md)

### [Manual Usage](https://docs.sentry.io/platforms/dart/feature-flags.md#manual-usage)

Call `Sentry.addFeatureFlag` to track feature flag evaluations:

```dart
Sentry.addFeatureFlag("feature_flag_a", true);
```

Calling this function multiple times with the same flag name will override the previous value.
