featureflip 2.0.0 copy "featureflip: ^2.0.0" to clipboard
featureflip: ^2.0.0 copied to clipboard

Flutter SDK for Featureflip — evaluate feature flags in Flutter apps with real-time updates.

2.0.0 #

BREAKING: Singleton-by-construction refactor.

  • Removed public constructor FeatureflipClient(config:), FeatureflipClient.withHttpClient(), FeatureflipClient.configure(), and FeatureflipClient.shared.
  • Added FeatureflipClient.get(sdkKey, config:) static factory — the only way to obtain a client. Multiple calls with the same SDK key return handles sharing one refcounted core.
  • Added FeatureflipClient.resetForTesting() for test isolation.
  • FeatureflipClient.forTesting() unchanged — continues to create independent test clients.

Migration #

Before:

final client = FeatureflipClient(config: config);
// or
FeatureflipClient.configure(config);
final client = FeatureflipClient.shared;

After:

final client = FeatureflipClient.get('your-sdk-key', config: config);

1.0.0 #

  • Initial release
0
likes
140
points
152
downloads

Documentation

Documentation
API reference

Publisher

verified publisherfeatureflip.io

Weekly Downloads

Flutter SDK for Featureflip — evaluate feature flags in Flutter apps with real-time updates.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on featureflip