flagsmith_core 2.1.0+1 flagsmith_core: ^2.1.0+1 copied to clipboard
Core Package of Flutter Client SDK for https://www.flagsmith.com/, Flagsmith is 100% Open Source. Host yourself or let us take care of the hosting.
Core package for Flagsmith Flutter SDK #
Internally used in Flagsmith Client for basic store data with models.
import "package:flagsmith_core/flagsmith_core.dart";
Custom storage #
You can implement your own storage implementation by extending of CoreStorage
class CustomStorage extends CoreStorage{
...
}
final client = FlagsmithClient(
apiKey: 'your_api_key',
config: FlagsmithConfig(
storageType: StorageType.custom,
isDebug: true,
),
storage: CustomStorage()
);
await client.initialize();