Skip to main content

Theme and modules

After AzeooSDK.connect, use AzeooSDK.nutrition, AzeooSDK.training, and the theme helpers.

Nutrition (AzeooSDK.nutrition)​

  • showMainScreen(bottomSafeArea) — Main nutrition screen
  • showNutritionPlans(), showNutritionPlan(planId), showUserNutritionPlan()
  • showRecipes(), showRecipe(recipeId, recipeName)
  • showBarcodeScanner(), showMobileScanner()
  • showNutritionSearch(), showCart()
  • showAddSelection(), showAddFood(), showAddMeal()
  • showPermissionTestScreen()

Training (AzeooSDK.training)​

  • showMainScreen()
  • showWorkoutPlans(), showWorkoutPlan(planId)
  • showExercises(), showExercise(exerciseId)
  • showProgress(), showSchedule()

Theme helpers​

  • AzeooSDK.changePrimaryColor(color)
  • AzeooSDK.setCustomThemes(...) — light/dark primary, secondary, background, tertiary, success, error, warning
  • AzeooSDK.getCurrentThemeMode() — Returns current theme mode (e.g. string)

Embedding (AzeooSDKContent)​

Use the AzeooSDKContent widget to embed the full SDK UI in your app (e.g. as a tab or full-screen). See UI Components.

Example​

AzeooSDK.nutrition.showMainScreen(bottomSafeArea: true);
AzeooSDK.training.showWorkoutPlans();
AzeooSDK.changePrimaryColor(Colors.blue);