Skip to content
pubscout

optimizely_flutter_sdk

4.1.0, released 2 weeks ago by an unverified publisher

Optimizely feature experimentation, A/B testing and rollouts SDK for Flutter.

$ flutter pub add optimizely_flutter_sdk
Source repository

What it does

The Optimizely Flutter SDK allows developers to integrate feature flags, A/B testing, and remote configuration into Flutter applications. It enables client initialization, user context creation, and flag decision evaluations.

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

Use it when

  • You need to run A/B tests or feature experiments in your Flutter application.
  • You want to roll out or roll back features remotely without code deploys.

Skip it when

  • You only need simple local state management without remote feature flagging.
  • Your target iOS platform is older than version 15.0.

Strengths

  • Enables safe feature rollouts and remote A/B testing.
  • Supports user attributes for targeting and results segmentation.

Weaknesses

  • Requires iOS 15.0 and minimum Android SDK version 21.
  • CocoaPods is not supported on iOS (requires Swift Package Manager).

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Requires an Optimizely SDK key. On iOS, requires Swift Package Manager and deployment target 15.0 or higher. On Android, requires a minimum SDK version of 21 and compile SDK version 35.

var flutterSDK = OptimizelyFlutterSdk("your_sdk_key");
var response = await flutterSDK.initializeClient();
var user = await flutterSDK.createUserContext("user_id", {"state": "California"});
var decideResponse = await user!.decide("binary_feature");

Alternatives

Packages that do the same job and could replace optimizely_flutter_sdk.