Skip to main content

πŸ’™ Flutter SDK API

Import package:azeoo_sdk/azeoo_sdk.dart (re-exports azeoo_core).

Lifecycle​

APIDescription
AzeooSDK.initialize(apiKey, options:)Start SDK
AzeooSDK.connect(token:, gender:, height:, weight:)Attach user
AzeooSDK.disconnect()Logout
AzeooSDK.userIdProfile id after connect
AzeooSDK.userUserSession?

Modules (UI)​

APIDescription
AzeooSDKModules.nutritionNutrition routes
AzeooSDKModules.trainingTraining routes
buildNutritionMainScreen()Example helper for root widget
danger

Not AzeooSDK.nutrition β€” use AzeooSDKModules.

Config​

AzeooSDKInitOptions from azeoo_core β€” see Configuration.

Advanced​

  • registerDataSources β€” custom data backends
  • refreshUserDerivedState / hardRefreshSdkState β€” internal refresh hooks