Skip to content
pubscout

launchdarkly_flutter_client_sdk

4.22.1, released yesterday by launchdarkly.com

Official LaunchDarkly client-side feature flag SDK for Flutter.

Rock solid
$ flutter pub add launchdarkly_flutter_client_sdk
Source repository

What it does

Allows Flutter applications to connect to LaunchDarkly for feature management, flag evaluation, and event sending. It supports Android, iOS, macOS, Web, Linux, and Windows platforms.

AI-written summary of version 4.21.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You use LaunchDarkly for feature management and need to evaluate feature flags in a Flutter application.
  • You want to perform gradual rollouts or target features based on end-user attributes.
  • You need to dynamically turn off misbehaving features in production without redeploying.

Skip it when

  • You do not use LaunchDarkly as your feature flag provider.
  • You require server-side evaluation patterns rather than client-side SDK features.

Strengths

  • Official SDK supported directly by LaunchDarkly.
  • Cross-platform support across mobile, desktop, and web.
  • Centralized testing and consistency across SDK implementations.

Weaknesses

  • Tied exclusively to the LaunchDarkly ecosystem and backend services.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
6

Requires providing a LaunchDarkly mobile key during configuration.

final config = LDConfig('<your-mobile-key>', AutoEnvAttributes.enabled);

Alternatives

Packages that do the same job and could replace launchdarkly_flutter_client_sdk.

Works with

Packages commonly used together with launchdarkly_flutter_client_sdk: ones it builds on, ones built on it, and its own family.