Aller au contenu principal

UI Components

Use AzeooSDKContent to embed the full SDK UI, or AzeooSDK.nutrition and AzeooSDK.training to open specific screens. Requires AzeooSDK.initialize and AzeooSDK.connect first.

Embedding: AzeooSDKContent

import 'package:azeoo_sdk/azeoo_sdk.dart';

// In your widget tree (e.g. as a tab or full screen)
AzeooSDKContent()

Opening screens

AzeooSDK.nutrition.showMainScreen(bottomSafeArea: true);
AzeooSDK.nutrition.showNutritionPlans();
AzeooSDK.nutrition.showBarcodeScanner();
AzeooSDK.training.showMainScreen();
AzeooSDK.training.showWorkoutPlans();

Nutrition module

Main screen, plans, recipes, barcode scanner, search, cart, add food/meal. See Nutrition Module.

Training module

Main screen, workout plans, exercises, progress, schedule. See Training Module.

Customization

Configure theme, safe area, and deep links in AzeooSDKInitOptions at initialize. At runtime use AzeooSDK.changePrimaryColor and AzeooSDK.setCustomThemes. See Configuration.