CustomLanguage class

Custom language configuration. This configuration allows you to provide custom localization. You should provide all the necessary strings for the Aiuta SDK.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

CustomLanguage({required String appBarVirtualTryOn, required String appBarHistory, required String appBarSelect, required String preOnboardingTitle, required String preOnboardingSubtitle, required String preOnboardingButton, required String onboardingButtonNext, required String onboardingButtonStart, required String onboardingPageTryonTopic, required String onboardingPageTryonSubtopic, required String onboardingPageBestResultTopic, required String onboardingPageBestResultSubtopic, required String onboardingPageConsentTopic, required String onboardingPageConsentBody, required String onboardingPageConsentAgreePoint, required List<String> onboardingPageConsentSupplementaryPoints, String? onboardingPageConsentFooter, required String onboardingAppbarTryonPage, required String onboardingAppbarBestResultPage, required String onboardingAppbarConsentPage, required String imageSelectorUploadButton, required String imageSelectorChangeButton, required String imageSelectorPoweredByAiuta, required String imageSelectorProtectionPoint, required String loadingUploadingImage, required String loadingScanningBody, required String loadingGeneratingOutfit, required String historySelectorEnableButtonSelectAll, required String historySelectorEnableButtonUnselectAll, required String generationResultMoreTitle, required String generationResultMoreSubtitle, required String pickerSheetTakePhoto, required String pickerSheetChooseLibrary, required String uploadsHistorySheetPreviously, required String uploadsHistorySheetUploadNewButton, required String feedbackSheetSkip, required String feedbackSheetSend, required String feedbackSheetSendFeedback, required String feedbackSheetTitle, required List<String> feedbackSheetOptions, required String feedbackSheetExtraOption, required String feedbackSheetExtraOptionTitle, required String feedbackSheetGratitude, required String fitDisclaimerTitle, required String fitDisclaimerBody, required String dialogCameraPermissionTitle, required String dialogCameraPermissionDescription, required String dialogCameraPermissionConfirmButton, required String dialogInvalidImageDescription, required String addToWish, required String addToCart, required String cancel, required String close, required String tryOn, required String tryAgain, required String share, required String defaultErrorMessage})
Creates a custom language configuration with the given parameters.
CustomLanguage.fromJson(Map<String, dynamic> json)
Creates a custom language configuration from the given JSON map.
factory

Properties

addToCart String
Add to cart
final
addToWish String
Wishlist
final
appBarHistory String
History
final
appBarSelect String
Select
final
appBarVirtualTryOn String
Virtual Try-on
final
cancel String
Cancel
final
close String
Close
final
defaultErrorMessage String
Something went wrong. Please try again later
final
dialogCameraPermissionConfirmButton String
Settings
final
dialogCameraPermissionDescription String
Please allow access to the camera in the application settings
final
dialogCameraPermissionTitle String
Camera permission
final
dialogInvalidImageDescription String
We couldn’t detect anyone in this photo
final
feedbackSheetExtraOption String
Other
final
feedbackSheetExtraOptionTitle String
Tell us what we could improve?
final
feedbackSheetGratitude String
Thank you for your feedback
final
feedbackSheetOptions List<String>
This style isn’t for me The item looks off I look different
final
feedbackSheetSend String
Send
final
feedbackSheetSendFeedback String
Send feedback
final
feedbackSheetSkip String
Skip
final
feedbackSheetTitle String
Can you tell us more?
final
fitDisclaimerBody String
Virtual try-on is a visualization tool that shows how items might look and may not perfectly represent how the item will fit in reality
final
fitDisclaimerTitle String
Results may vary from real-life fit
final
generationResultMoreSubtitle String
More for you to try on
final
generationResultMoreTitle String
You might also like
final
hashCode int
The hash code for this object.
no setterinherited
historySelectorEnableButtonSelectAll String
Select all
final
historySelectorEnableButtonUnselectAll String
Unselect all
final
imageSelectorChangeButton String
Change photo
final
imageSelectorPoweredByAiuta String
Powered by Aiuta
final
imageSelectorProtectionPoint String
Your photos are protected and visible only to you
final
imageSelectorUploadButton String
Upload a photo of you
final
loadingGeneratingOutfit String
Generating outfit
final
loadingScanningBody String
Scanning your body
final
loadingUploadingImage String
Uploading image
final
mode AiutaLanguageMode
Mode of the language configuration.
getter/setter pairinherited
onboardingAppbarBestResultPage String
<b>Step 2/3</b> - For best result Supports HTML tags.
final
onboardingAppbarConsentPage String
<b>Step 3/3</b> - Consent Supports HTML tags.
final
onboardingAppbarTryonPage String
<b>Step 1/3</b> - How it works Supports HTML tags.
final
onboardingButtonNext String
Next
final
onboardingButtonStart String
Start
final
onboardingPageBestResultSubtopic String
Use a photo with good lighting, stand straight a plain background
final
onboardingPageBestResultTopic String
For best results
final
onboardingPageConsentAgreePoint String
I agree to allow YOUR_COMPANY to process my photo
final
onboardingPageConsentBody String
In order to try on items digitally, you agree to allow YOUR_COMPANY to process your photo. Your data will be processed according to the YOUR_COMPANY <b><a href='PP_URL'>Privacy Notice</a></b> and <b><a href='TOS_URL'>Terms of Use.</a></b>
final
onboardingPageConsentFooter String?
Further information ... Supports HTML tags.
final
onboardingPageConsentSupplementaryPoints List<String>
I consent that my photo will be shown in the YOUR_COMPANY shop
final
onboardingPageConsentTopic String
Consent
final
onboardingPageTryonSubtopic String
Upload a photo and see how items look on you
final
onboardingPageTryonTopic String
Try on before buying
final
pickerSheetChooseLibrary String
Choose from library
final
pickerSheetTakePhoto String
Take a photo
final
preOnboardingButton String
Let’s start
final
preOnboardingSubtitle String
Welcome to our Virtual try-on. Try on the item directly on your photo
final
preOnboardingTitle String
Try on you
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
share String
Share
final
tryAgain String
Try again
final
tryOn String
Try on
final
uploadsHistorySheetPreviously String
Previously used photos
final
uploadsHistorySheetUploadNewButton String
+ Upload new photo
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this object to a JSON map.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited