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