feature_flags_toggly library
Provides feature flags support for Flutter applications allowing you to enable and disable features easily. Can be used with or without Toggly.io.
Classes
- Feature
- Creates a feature Widget that can be enabled, disabled or partially enabled, described by the provided featureKeys and following the requirement and negate parameters.
- FeatureState
- HttpService
-
Simple
Dio
wrapper to simplify http requests across the package. - SecureStorageService
- Cache service utilising flutter_secure_storage.
- SyncService
- Simple service to simplify Timer instances management across the package.
- Toggly
- Static class providing feature flags support.
- TogglyConfig
- Toggly configuration model allowing various tweaks on how the package should work to better fit each use-case.
- TogglyFeatureFlagsCache
- Data representation to be stored in/retrieved from cache.
- TogglyInitResponse
- Toggly initialization response model.
Enums
- FeatureRequirement
- Feature requirement types allowing "ANY" or "ALL" operations when evaluating feature gates.
- SecureStorageKeys
- TogglyLoadFeatureFlagsResponse
- Possible feature flags values loading responses.
Exceptions / Errors
- TogglyMissingAppKeyException
- Handled missing app key exception used for fallback on cache/flag defaults.