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:

  • NSCameraUsageDescription: Required Please describe why your app needs access to the camera so that Aiuta can request permission to use the camera from the user. This is called Privacy - Photo Library Usage Description in the visual editor.
  • NSPhotoLibraryAddUsageDescription: Optional Please describe why your app needs permission for the photo library so that Aiuta can request permission to save the generated image to the Photo Gallery from the user. This is called Privacy - Camera Usage Description in the visual editor.

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(...));
}

Libraries

aiuta_flutter
configuration/aiuta_configuration
configuration/auth/aiuta_authentication
configuration/auth/aiuta_authentication_mode
configuration/data_provider/aiuta_data_provider
configuration/language/aiuta_language
configuration/language/aiuta_language_mode
configuration/language/default_aiuta_languages
configuration/listeners/aiuta_data_listeners
configuration/listeners/aiuta_listeners
configuration/mode/aiuta_mode
configuration/theme/aiuta_theme
configuration/theme/colors/aiuta_colors
configuration/theme/dimensions/aiuta_dimensions
configuration/theme/gradients/aiuta_gradients
configuration/theme/icons/aiuta_icon
configuration/theme/icons/aiuta_icons
configuration/theme/images/aiuta_images
configuration/theme/images/aiuta_onboarding_images
configuration/theme/shapes/aiuta_shapes
configuration/theme/toggles/aiuta_theme_toggles
configuration/theme/typography/aiuta_font
configuration/theme/typography/aiuta_font_weight
configuration/theme/typography/aiuta_text_style
configuration/theme/typography/aiuta_typography
configuration/theme/watermark/aiuta_watermark
configuration/toggles/aiuta_toggles
models/analytic/aiuta_analytic_event
models/analytic/aiuta_analytic_event_type
models/analytic/aiuta_analytic_onboarding_event_type
models/analytic/aiuta_analytic_page_id
models/analytic/aiuta_analytics_feedback_event_type
models/analytic/aiuta_analytics_history_event_type
models/analytic/aiuta_analytics_picker_event_type
models/analytic/aiuta_analytics_results_event_type
models/analytic/aiuta_analytics_tryon_event_type
models/error/aiuta_error
models/error/aiuta_error_type
models/exceptions/not_valid_auth_exception
models/images/aiuta_history_image
models/product/aiuta_product