Skip to main content

Flutter Quick Start

Get started with the Azeoo SDK in 5 minutes.

Prerequisites​

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​

  1. Register at Azeoo Client Platform
  2. 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?​