flagsmith_flutter_core 2.3.0 flagsmith_flutter_core: ^2.3.0 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_flutter_core/flagsmith_flutter_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();