hackle 2.19.2 copy "hackle: ^2.19.2" to clipboard
hackle: ^2.19.2 copied to clipboard

Flutter SDK for Hackle. Supports A/B Testing, Feature Flags, Remote Configs, and Analytics.

Hackle #

Hackle Flutter SDK

Flutter SDK for Hackle A/B Tests, Feature Flags, Remote Configs, and Analytics.

Getting Started #

Check out our SDK docs to get started.

Usage #

Initialize #

await HackleApp.initialize(YOUT_APP_SDK_KEY);

Decide the A/B test variation #

Variation variation = await HackleApp.variation(42);

if (variation == Variation.A) {
  featureA();
} else {
  featureB();
}

Decide the Feature #

bool featureOn = await HackleApp.isFeatureOn(42);

if (featureOn) {
  onSomethingFeature();
} else {
  offSomethingFeature();
}

Tracks the event #

HackleApp.track(HackleEvent.builder("purchase").build());
2
likes
140
points
411
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter SDK for Hackle. Supports A/B Testing, Feature Flags, Remote Configs, and Analytics.

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, hackle_android, hackle_ios, hackle_platform_interface

More

Packages that depend on hackle