CustomLanguage constructor
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, - 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 defaultErrorMessage,
Creates a custom language configuration with the given parameters.
Implementation
CustomLanguage({
// App bar
required this.appBarVirtualTryOn,
required this.appBarHistory,
required this.appBarSelect,
// Pre Onboarding
required this.preOnboardingTitle,
required this.preOnboardingSubtitle,
required this.preOnboardingButton,
// Onboarding
required this.onboardingButtonNext,
required this.onboardingButtonStart,
required this.onboardingPageTryonTopic,
required this.onboardingPageTryonSubtopic,
required this.onboardingPageBestResultTopic,
required this.onboardingPageBestResultSubtopic,
required this.onboardingPageConsentTopic,
required this.onboardingPageConsentBody,
required this.onboardingPageConsentAgreePoint,
required this.onboardingPageConsentSupplementaryPoints,
this.onboardingPageConsentFooter,
required this.onboardingAppbarTryonPage,
required this.onboardingAppbarBestResultPage,
required this.onboardingAppbarConsentPage,
// Image selector
required this.imageSelectorUploadButton,
required this.imageSelectorChangeButton,
required this.imageSelectorPoweredByAiuta,
required this.imageSelectorProtectionPoint,
// Loading
required this.loadingUploadingImage,
required this.loadingScanningBody,
required this.loadingGeneratingOutfit,
// History
required this.historySelectorEnableButtonSelectAll,
required this.historySelectorEnableButtonUnselectAll,
// Generation Result
required this.generationResultMoreTitle,
required this.generationResultMoreSubtitle,
// Bottom sheets
required this.pickerSheetTakePhoto,
required this.pickerSheetChooseLibrary,
// Uploads history sheet
required this.uploadsHistorySheetPreviously,
required this.uploadsHistorySheetUploadNewButton,
// Feedback sheet
required this.feedbackSheetSkip,
required this.feedbackSheetSend,
required this.feedbackSheetSendFeedback,
required this.feedbackSheetTitle,
required this.feedbackSheetOptions,
required this.feedbackSheetExtraOption,
required this.feedbackSheetExtraOptionTitle,
required this.feedbackSheetGratitude,
// Fit disclaimer
required this.fitDisclaimerTitle,
required this.fitDisclaimerBody,
// Dialog
required this.dialogCameraPermissionTitle,
required this.dialogCameraPermissionDescription,
required this.dialogCameraPermissionConfirmButton,
// Invalid image
required this.dialogInvalidImageDescription,
// General
required this.addToWish,
required this.addToCart,
required this.cancel,
required this.close,
required this.tryOn,
required this.tryAgain,
required this.share,
required this.defaultErrorMessage,
}) : super(AiutaLanguageMode.custom);