feature_wrapper_retain 1.0.2 feature_wrapper_retain: ^1.0.2 copied to clipboard
Feature source that allows to retain feature state across launches.
feature_wrapper_firebase #
Important note: We recommend that you read about the feature_core package before using it.
Installation #
To use this library you need to have the following packages:
dependencies:
feature_core: &feature_version ^1.1.0
feature_wrapper_retain: *feature_version
Usage #
Compatible with wrappers:
TogglingFeatureSourceWrapper
from feature_coreRetainFeatureSourceWrapper
from feature_wrapper_retain
FeaturesManager(
sources: {
...,
FirebaseFeatureSource(
remoteConfig: FirebaseRemoteConfig.instance, // required
minimumFetchInterval: const Duration(hours: 12), // default
fetchTimeout: const Duration(minutes: 1) // default
),
...,
}
);