aiuta-com / flutter-sdk

An fashion try on generation library for Flutter.
Apache License 2.0
0 stars 0 forks source link
aiuta dart fashion flutter

Aiuta Virtual Try On SDK for Flutter

This package contains the Virtual Try-On Solution for Apparel and Fashion Businesses SDK for Flutter as a plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS that uses Aiuta Digital Try On API.

Permissions

iOS

Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:

Android

No configuration required - the plugin should work out of the box.

Availability

iOS

Compilation support is provided for iOS 12.0 and later. However, the SDK requires iOS 13.0 or later to work. If the device is running an older version of iOS, the native SDK will not be available.

Please check the availability of the SDK by calling the isAvailable getter on the configured Aiuta object before providing the try-on functionality to the user.

Android

Aiuta requires minSdkVersion = 23 or later.

Configuration

Please see the AiutaConfiguration and its properties to observe the available configuration.

Try-on

Call the startAiutaFlow(product: AiutaProduct(...)) method on the configured Aiuta object to provide virtual try-on functionality to the user.

Product

AiutaProduct represents the information about a SKU in the Aiuta platform.

Try-on History

Call the startAiutaHistoryFlow() method on the configured Aiuta object to provide the user with a history of their virtual try-on generations.

Example Usage


final aiuta = Aiuta(configuration: AiutaConfiguration(...));
if (await aiuta.isAvailable) {
  aiuta.startTryonFlow(product: AiutaProduct(...));
}