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

Hackle Flutter SDK

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);
copied to clipboard

Decide the A/B test variation #

Variation variation = await HackleApp.variation(42);

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

Decide the Feature #

bool featureOn = await HackleApp.isFeatureOn(42);

if (featureOn) {
  onSomethingFeature();
} else {
  offSomethingFeature();
}
copied to clipboard

Tracks the event #

HackleApp.track(HackleEvent.builder("purchase").build());
copied to clipboard
1
likes
100
points
780
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.14 - 2025.03.29

Hackle Flutter SDK

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter, hackle_android, hackle_ios, hackle_platform_interface

More

Packages that depend on hackle