feature_flags_toggly
2.0.0, released 3 days ago by toggly.io
Feature flags support for Flutter applications with or without Toggly.io.
What it does
Provides feature flags support allowing you to enable and disable features in Flutter applications. It can be used with or without Toggly.io, offering features like cryptographic verification via ECDSA signed definitions and frontend telemetry.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to manage feature flags or toggles dynamically in a Flutter application
- You want to integrate with Toggly.io for remote feature flag management
- You require cryptographically signed feature flag definitions for security
Skip it when
- You do not need feature flagging or remote toggling capabilities in your app
Strengths
- Supports both standalone usage and integration with Toggly.io
- Cryptographically signed definitions using ECDSA for security
- Provides built-in widgets and builders like Feature and FeatureGateBuilder
Weaknesses
- Requires proper key and backend configuration if using signed definitions with Toggly.io
- Entity-gated flags fail closed without context
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 8
Initialize Toggly in your app startup using Toggly.init with your app key and environment.
await Toggly.init(
appKey: '<your_app_key>',
environment: '<your_app_environment>',
flagDefaults: {
"ExampleFeatureKey1": true,
},
);Alternatives
Packages that do the same job and could replace feature_flags_toggly.
- configcat_client
Dart and Flutter SDK for the ConfigCat hosted feature flag and toggle service.
79Compare - ditto_live
Edge sync SDK for Flutter enabling offline and online data synchronization across devices.
75Compare - amity_sdk
Client SDK for Amity Social Cloud to add social features like feeds, groups, and profiles.
75Compare
Works with
Packages commonly used together with feature_flags_toggly: ones it builds on, ones built on it, and its own family.
- cryptofeature_flags_toggly depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- uuidfeature_flags_toggly depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- equatablefeature_flags_toggly depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- rxdartfeature_flags_toggly depends on itImplementation of the ReactiveX API for asynchronous programming leveraging native Dart Streams.
- diofeature_flags_toggly depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- dio_smart_retryfeature_flags_toggly depends on itFlexible request retry library for the Dio HTTP client package.
- ellipticfeature_flags_toggly depends on itPure Dart elliptic curve math for ECDSA, ECDH, key generation.
- ecdsafeature_flags_toggly depends on itImplements ECDSA signing and verification in pure Dart.