Flutter Quick Start
Get started with the Azeoo SDK in 5 minutes.
Prerequisitesβ
- Flutter 3.19.0 or later
- Dart 3.3.0 or later
- An API key from Azeoo Client Platform
Step 1: Installationβ
Add the dependency in pubspec.yaml:
dependencies:
azeoo_sdk: ^1.0.0
Then run:
flutter pub get
See Installation Guide for more options.
Step 2: Get your API keyβ
- Register at Azeoo Client Platform
- Generate an SDK token
See Getting SDK Token for details.
Step 3: Initialize and connectβ
Use AzeooSDK.initialize with your API key and options, then AzeooSDK.connect when the user is authenticated:
import 'package:azeoo_sdk/azeoo_sdk.dart';
// After app bootstrap (e.g. after login)
Future<void> initSDK(String userId, String token) async {
await AzeooSDK.initialize(
'your-api-key',
options: AzeooSDKInitOptions(
locale: 'en',
analyticsEnabled: true,
offlineSupport: true,
safeArea: const SafeAreaConfig.all(),
),
);
await AzeooSDK.connect(userId, token);
}
Step 4: Show SDK UIβ
Option A β Embed the full SDK content:
import 'package:azeoo_sdk/azeoo_sdk.dart';
// In your widget tree
AzeooSDKContent()
Option B β Open specific screens:
AzeooSDK.nutrition.showMainScreen(bottomSafeArea: true);
AzeooSDK.training.showMainScreen();
AzeooSDK.nutrition.showBarcodeScanner();
That's it! You should see the SDK UI when using AzeooSDKContent or when calling the module methods.
What's next?β
- UI Components β All screens and AzeooSDKContent
- SDK API β user, theme, nutrition, training
- Configuration β Theme, deep links, options
- Examples β More code examples