Flutter SDK
Using our Flutter SDK makes it easy to integrate Shen.AI into a new or existing cross-platform (iOS and Android) Flutter app.
The best way to get started is to build the example app - available here on GitHub . The example provides easy customization to kickstart creating new apps with the SDK.
Installing the SDK package
The Flutter SDK is published to pub.dev as shenai_sdk.
flutter pub add shenai_sdkThe package resolves the Android SDK from Maven Central and the iOS SDK from CocoaPods during the native build.
Custom frame input
Flutter exposes CameraMode.customFrames, so you can configure the SDK not to start a camera:
final settings = InitializationSettings()
..cameraMode = CameraMode.customFrames;
await ShenaiSdk.initialize(API_KEY, USER_ID, settings: settings);Further steps
Please see permissions, initialization, configuration and video measurement for further steps.