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

Hackle Flutter SDK

Hackle #

Hackle Flutter SDK

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());
1
likes
110
points
377
downloads

Publisher

unverified uploader

Weekly Downloads

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