bella_baxter_flutter library
Flutter integration for the Bella Baxter Dart SDK.
Provides FlutterSecureSecretCache — a SecretCache implementation
backed by flutter_secure_storage for encrypted on-device caching.
Quick start
import 'package:bella_baxter/bella_client.dart';
import 'package:bella_baxter_flutter/bella_baxter_flutter.dart';
final client = BellaClient(BellaClientOptions(
apiKey: const String.fromEnvironment('BELLA_API_KEY'),
cache: FlutterSecureSecretCache(),
));
// Returns cached secrets when offline; fetches fresh when online.
final secrets = await client.pullSecrets();
Classes
- FlutterSecureSecretCache
-
A
SecretCachebacked byFlutterSecureStoragefor encrypted on-device caching of Bella Baxter secrets.