⚙️ Flutter configuration
Use AzeooSDKInitOptions at AzeooSDK.initialize.
await AzeooSDK.initialize(
apiKey,
options: AzeooSDKInitOptions(
locale: 'en',
analyticsEnabled: true,
offlineSupport: true,
theme: themeConfig,
deepLinks: DeepLinkConfig(scheme: 'nutrition', host: 'nutrition.com'),
safeArea: SafeAreaConfig.all(),
connector: connectorConfig, // optional
),
);
Fields
| Field | Default | Description |
|---|---|---|
locale | null | UI language |
analyticsEnabled | true | Analytics |
offlineSupport | true | Offline mode |
theme | null | ThemeConfig |
deepLinks | null | DeepLinkConfig |
safeArea | SafeAreaConfig.all() | Host safe area hints |
connector | null | Connectors |
Connect (separate from config)
await AzeooSDK.connect(
token: jwt,
gender: gender,
height: height,
weight: weight,
);
See Measurements.