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

Flutter SDK For Hackle

Hackle #

Flutter SDK For Hackle

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
0
pub points
66%
popularity

Publisher

unverified uploader

Flutter SDK For Hackle

Homepage

License

unknown (license)

Dependencies

flutter, hackle_android, hackle_ios, hackle_sdk_platform_interface

More

Packages that depend on hackle