flagsmith_storage_sharedpreferences 3.0.0-beta.3 flagsmith_storage_sharedpreferences: ^3.0.0-beta.3 copied to clipboard
Persistant storage for Flagsmith Client https://www.flagsmith.com/, Flagsmith is 100% Open Source. Host yourself or let us take care of the hosting.
Storage package for Flagsmith Client #
Persistent storage for using Shared preferences
import "package:flagsmith_storage_sharedpreferences/flagsmith_storage_sharedpreferences.dart";
Custom storage #
final client = FlagsmithClient(
apiKey: 'your_api_key',
config: FlagsmithConfig(
storageType: StorageType.custom,
isDebug: true,
),
storage: FlagsmithSharedPreferenceStore()
);
await client.initialize();