Files
tmail-flutter/core/lib/presentation/resources/image_paths.dart
T
Théo Poizat b6959a5ab6 Add an animated AI icon for Scribe in desktop web
I moved the previous static icon in its own component and created a component that manage the loading of the appropriate icon: static or dynamic.
2026-02-09 23:29:43 +07:00

299 lines
19 KiB
Dart

import 'package:core/presentation/resources/assets_paths.dart';
class ImagePaths {
String get icMailboxAllMail => _getImagePath('ic_mailbox_allmail.svg');
String get icMailboxTemplate => _getImagePath('ic_mailbox_template.svg');
String get icExpandFolder => _getImagePath('ic_expand_folder.svg');
String get icCollapseFolder => _getImagePath('ic_collapse_folder.svg');
String get icBack => _getImagePath('ic_back.svg');
String get icShare => _getImagePath('ic_share.svg');
String get icComposerClose => _getImagePath('ic_composer_close.svg');
String get icComposerMenu => _getImagePath('ic_composer_menu.svg');
String get icDownload => _getImagePath('ic_download.svg');
String get icMore => _getImagePath('ic_more.svg');
String get icPhotoLibrary => _getImagePath('ic_photo_library.svg');
String get icEmptyFolder => _getImagePath('ic_empty_folder.svg');
String get icStar => _getImagePath('ic_star.svg');
String get icUnStar => _getImagePath('ic_unstar.svg');
String get icAttachment => _getImagePath('ic_attachment.svg');
String get icChevron => _getImagePath('ic_chevron.svg');
String get icChevronDown => _getImagePath('ic_chevron_down.svg');
String get icFilter => _getImagePath('ic_filter.svg');
String get icSearchBar => _getImagePath('ic_search_bar.svg');
String get icCompose => _getImagePath('ic_compose.svg');
String get icRead => _getImagePath('ic_read.svg');
String get icUnread => _getImagePath('ic_unread.svg');
String get icSelected => _getImagePath('ic_selected.svg');
String get icUnSelected => _getImagePath('ic_unselected.svg');
String get icDelete => _getImagePath('ic_delete.svg');
String get icSpam => _getImagePath('ic_spam.svg');
String get icMove => _getImagePath('ic_move.svg');
String get icReadToast => _getImagePath('ic_read_toast.svg');
String get icUnreadToast => _getImagePath('ic_unread_toast.svg');
String get icReplyAll => _getImagePath('ic_reply_all.svg');
String get icReply => _getImagePath('ic_reply.svg');
String get icForward => _getImagePath('ic_forward.svg');
String get icMoveEmail => _getImagePath('ic_move_email.svg');
String get icUnreadEmail => _getImagePath('ic_unread_email.svg');
String get icCircleClose => _getImagePath('ic_circle_close.svg');
String get icAddNewFolder => _getImagePath('ic_add_new_folder.svg');
String get icFolderMailbox => _getImagePath('ic_folder_mailbox.svg');
String get icMailboxInbox => _getImagePath('ic_mailbox_inbox.svg');
String get icMailboxDrafts => _getImagePath('ic_mailbox_drafts.svg');
String get icMailboxSent => _getImagePath('ic_mailbox_sent.svg');
String get icMailboxArchived => _getImagePath('ic_mailbox_archived.svg');
String get icMailboxSpam => _getImagePath('ic_mailbox_spam.svg');
String get icMailboxTrash => _getImagePath('ic_mailbox_trash.svg');
String get icMailboxFavorite => _getImagePath('ic_mailbox_favorite.svg');
String get icMailboxActionRequired => _getImagePath('ic_mailbox_action_required.svg');
String get icFilterSelected => _getImagePath('ic_filter_selected.svg');
String get icFilterMessageAll => _getImagePath('ic_filter_message_all.svg');
String get icFilterMessageAttachments => _getImagePath('ic_filter_message_attachments.svg');
String get icSendToast => _getImagePath('ic_send_toast.svg');
String get icSendSuccessToast => _getImagePath('ic_send_success_toast.svg');
String get icClearTextSearch => _getImagePath('ic_clear_text_search.svg');
String get icRenameMailbox => _getImagePath('ic_rename_mailbox.svg');
String get icDeleteToast => _getImagePath('ic_delete_toast.svg');
String get icRemoveDialog => _getImagePath('ic_remove_dialog.svg');
String get icNewMessage => _getImagePath('ic_new_message.svg');
String get icUnreadStatus => _getImagePath('ic_unread_status.svg');
String get icFullScreen => _getImagePath('ic_fullscreen.svg');
String get icMinimize => _getImagePath('ic_minimize.svg');
String get icDeleteComposer => _getImagePath('ic_delete_composer.svg');
String get icDeleteAttachment => _getImagePath('ic_delete_attachment.svg');
String get icSendMobile => _getImagePath('ic_send_mobile.svg');
String get icSendDisable => _getImagePath('ic_send_disable.svg');
String get icArrowDown => _getImagePath('ic_arrow_down.svg');
String get icFilterAdvanced => _getImagePath('ic_filter_advanced.svg');
String get icMarkAllAsRead => _getImagePath('ic_mark_all_as_read.svg');
String get icRefresh => _getImagePath('ic_refresh.svg');
String get icSelectAll => _getImagePath('ic_select_all.svg');
String get icFullScreenExit => _getImagePath('ic_fullscreen_exit.svg');
String get icChevronUp => _getImagePath('ic_chevron_up.svg');
String get icClose => _getImagePath('ic_close.svg');
String get icSendToastError => _getImagePath('ic_send_toast_error.svg');
String get icEmpty => _getImagePath('ic_empty.svg');
String get icNotConnection => _getImagePath('ic_not_connection.svg');
String get icDeleteTrash => _getImagePath('ic_delete_trash.svg');
String get icMenuDrawer => _getImagePath('ic_menu_drawer.svg');
String get icNotSpam => _getImagePath('ic_unspam.svg');
String get icLogout => _getImagePath('ic_logout.svg');
String get icSetting => _getImagePath('ic_setting.svg');
String get icProfiles => _getImagePath('ic_profiles.svg');
String get icAddIdentity => _getImagePath('ic_add_identity.svg');
String get icDropDown => _getImagePath('ic_dropdown.svg');
String get icMoreVertical => _getImagePath('ic_more_vertical.svg');
String get icEmail => _getImagePath('ic_email.svg');
String get icReplyTo => _getImagePath('ic_reply_to.svg');
String get icEditIdentity => _getImagePath('ic_edit_identity.svg');
String get icDeleteDialogIdentity => _getImagePath('ic_delete_dialog_identity.svg');
String get icDeleteDialogRecipients => _getImagePath('ic_delete_dialog_recipients.svg');
String get icDeleteDialogFailed => _getImagePath('ic_delete_dialog_failed.svg');
String get icEdit => _getImagePath('ic_edit.svg');
String get icEye => _getImagePath('ic_eye.svg');
String get icEyeOff => _getImagePath('ic_eye_off.svg');
String get icJMAPStandard => _getImagePath('ic_jmap_standard.svg');
String get icEncrypted => _getImagePath('ic_encrypted.svg');
String get icIntegration => _getImagePath('ic_integration.svg');
String get icTeam => _getImagePath('ic_team.svg');
String get icPowerByLinagora => _getImagePath('power_by_linagora.svg');
String get icAttachmentSB => _getImagePath('ic_attachment_sb.svg');
String get icCalendarSB => _getImagePath('ic_calendar_sb.svg');
String get icClockSB => _getImagePath('ic_clock_sb.svg');
String get icSelectedSB => _getImagePath('ic_selected_sb.svg');
String get icUserSB => _getImagePath('ic_user_sb.svg');
String get icComposeWeb => _getImagePath('ic_compose_web.svg');
String get icFileDoc => _getImagePath('ic_file_doc.svg');
String get icFileZip => _getImagePath('ic_file_zip.svg');
String get icFileExcel => _getImagePath('ic_file_excel.svg');
String get icFileImage => _getImagePath('ic_file_image.svg');
String get icFilePdf => _getImagePath('ic_file_pdf.svg');
String get icFilePowerPoint => _getImagePath('ic_file_power_point.svg');
String get icFileDefault => _getImagePath('ic_file_default.svg');
String get icFileAudio => _getImagePath('ic_file_audio.svg');
String get icFileCode => _getImagePath('ic_file_code.svg');
String get icFileODP => _getImagePath('ic_file_odp.svg');
String get icFileODS => _getImagePath('ic_file_ods.svg');
String get icFileODT => _getImagePath('ic_file_odt.svg');
String get icFileText => _getImagePath('ic_file_text.svg');
String get icFileVideo => _getImagePath('ic_file_video.svg');
String get icLanguage => _getImagePath('ic_language.svg');
String get icChecked => _getImagePath('ic_checked.svg');
String get icStyleBold => _getImagePath('ic_style_bold.svg');
String get icStyleItalic => _getImagePath('ic_style_italic.svg');
String get icStyleUnderline => _getImagePath('ic_style_underline.svg');
String get icInsertImage => _getImagePath('ic_insert_image.svg');
String get icStyleStrikeThrough => _getImagePath('ic_style_strikethrough.svg');
String get icStyleCodeView => _getImagePath('ic_style_code_view.svg');
String get icStyleHeader => _getImagePath('ic_style_header.svg');
String get icStyleColor => _getImagePath('ic_style_color.svg');
String get icStyleArrowDown => _getImagePath('ic_style_arrow_down.svg');
String get icAlignLeft => _getImagePath('ic_align_left.svg');
String get icAlignCenter => _getImagePath('ic_align_center.svg');
String get icAlignRight => _getImagePath('ic_align_right.svg');
String get icAlignJustify => _getImagePath('ic_align_justify.svg');
String get icAlignIndent => _getImagePath('ic_align_indent.svg');
String get icAlignOutdent => _getImagePath('ic_align_outdent.svg');
String get icOrderNumber => _getImagePath('ic_order_number.svg');
String get icOrderBullet => _getImagePath('ic_order_bullet.svg');
String get icEmailRules => _getImagePath('ic_email_rules.svg');
String get icAddNewRules => _getImagePath('ic_add_new_rule.svg');
String get icEditRule => _getImagePath('ic_edit_rule.svg');
String get icDeleteRule => _getImagePath('ic_delete_rule.svg');
String get icOpenEditRule => _getImagePath('ic_open_edit_rule.svg');
String get icEditRuleMobile => _getImagePath('ic_edit_rule_mobile.svg');
String get icDeleteRuleMobile => _getImagePath('ic_delete_rule_mobile.svg');
String get icDeleteEmailForward => _getImagePath('ic_delete_email_forward.svg');
String get icVacation => _getImagePath('ic_vacation.svg');
String get icSignOut => _getImagePath('ic_sign_out.svg');
String get icSwitchOn => _getImagePath('ic_switch_on.svg');
String get icSwitchOff => _getImagePath('ic_switch_off.svg');
String get icClock => _getImagePath('ic_clock.svg');
String get icCalendar => _getImagePath('ic_calendar.svg');
String get icChevronDownOutline => _getImagePath('ic_chevron_down_outline.svg');
String get icUndo => _getImagePath('ic_undo.svg');
String get icDownloadAttachment => _getImagePath('ic_download_attachment.svg');
String get icAppDashboard => _getImagePath('ic_app_dashboard.svg');
String get icRequestReadReceipt => _getImagePath('ic_request_read_receipt.svg');
String get icReadReceiptMessage => _getImagePath('ic_read_receipt_message.svg');
String get icCreateNewFolder => _getImagePath('ic_create_new_folder.svg');
String get icOlder => _getImagePath('ic_older.svg');
String get icNewer => _getImagePath('ic_newer.svg');
String get icCancelSelection => _getImagePath('ic_cancel_selection.svg');
String get icSelectedRecipient => _getImagePath('ic_selected_recipient.svg');
String get icDeleteRecipient => _getImagePath('ic_delete_recipient.svg');
String get icQuotas => _getImagePath('ic_quotas.svg');
String get icQuotasWarning => _getImagePath('ic_quotas_warning.svg');
String get icQuotasOutOfStorage => _getImagePath('ic_quotas_out_of_storage.svg');
String get icQuickCreatingRule => _getImagePath('ic_quick_creating_rule.svg');
String get icPageNotFound => _getImagePath('ic_page_not_found.svg');
String get icPageNotFoundMobile => _getImagePath('ic_page_not_found_mobile.svg');
String get icOpenInNewTab => _getImagePath('ic_open_in_new_tab.svg');
String get icInfoCircleOutline => _getImagePath('ic_info_circle_outline.svg');
String get icSpamReportDisable => _getImagePath('ic_spam_report_disable.svg');
String get icSpamReportEnable => _getImagePath('ic_spam_report_enable.svg');
String get icClearSearchInput => _getImagePath('ic_clear_search_input.svg');
String get icHideFolder => _getImagePath('ic_hide_folder.svg');
String get icMoveMailbox => _getImagePath('ic_move_mailbox.svg');
String get icMarkAsRead => _getImagePath('ic_mark_as_read.svg');
String get icDeleteMailbox => _getImagePath('ic_delete_mailbox.svg');
String get icHideMailbox => _getImagePath('ic_hide_mailbox.svg');
String get icShowMailbox => _getImagePath('ic_show_mailbox.svg');
String get icMailboxVisibility => _getImagePath('ic_mailbox_visibility.svg');
String get icToastSuccessMessage => _getImagePath('ic_toast_success_message.svg');
String get icForwarded => _getImagePath('ic_forwarded.svg');
String get icReplyAndForward => _getImagePath('ic_reply_and_forward.svg');
String get icMailboxSendingQueue => _getImagePath('ic_mailbox_sending_queue.svg');
String get icMailboxOutbox => _getImagePath('ic_mailbox_outbox.svg');
String get icAvatarGroup => _getImagePath('ic_avatar_group.svg');
String get icAvatarGroupDelivering => _getImagePath('ic_avatar_group_delivering.svg');
String get icAvatarPersonal => _getImagePath('ic_avatar_personal.svg');
String get icAvatarPersonalDelivering => _getImagePath('ic_avatar_personal_delivering.svg');
String get icDialogOfflineMode => _getImagePath('ic_dialog_offline_mode.svg');
String get icMenuMailbox => _getImagePath('ic_menu_mailbox.svg');
String get icDelivering => _getImagePath('ic_delivering.svg');
String get icError => _getImagePath('ic_error.svg');
String get icConnectedInternet => _getImagePath('ic_connected_internet.svg');
String get icArrowBottom => _getImagePath('ic_arrow_bottom.svg');
String get icArrowLeft => _getImagePath('ic_arrow_left.svg');
String get icArrowRight => _getImagePath('ic_arrow_right.svg');
String get icAddPicture => _getImagePath('ic_add_picture.svg');
String get icCalendarEvent => _getImagePath('ic_calendar_event.svg');
String get icEventInvited => _getImagePath('ic_event_invited.svg');
String get icEventUpdated => _getImagePath('ic_event_updated.svg');
String get icEventCanceled => _getImagePath('ic_event_canceled.svg');
String get icFormatQuote => _getImagePath('ic_format_quote.svg');
String get icLogoWithText => _getImagePath('ic_logo_with_text.svg');
String get icLogoWithTextBeta => _getImagePath('ic_logo_with_text_beta.svg');
String get icTMailLogo => _getImagePath('ic_tmail_logo.svg');
String get icLoginGraphic => _getImagePath('ic_login_graphic.svg');
String get icCancel => _getImagePath('ic_cancel.svg');
String get icRichToolbar => _getImagePath('ic_rich_toolbar.svg');
String get icSaveToDraft => _getImagePath('ic_save_to_draft.svg');
String get icAttachmentFile => _getImagePath('ic_attachment_file.svg');
String get icAttachFile => _getImagePath('ic_attach_file.svg');
String get icSend => _getImagePath('ic_send.svg');
String get icReadReceipt => _getImagePath('ic_read_receipt.svg');
String get icDropZoneIcon => _getImagePath('ic_drop_zone_icon.svg');
String get icArrowUpOutline => _getImagePath('ic_arrow_up_outline.svg');
String get icFilterSB => _getImagePath('ic_filter_sb.svg');
String get icUnsubscribe => _getImagePath('ic_unsubscribe.svg');
String get icRecoverDeletedMessages => _getImagePath('ic_recover_deleted_messages.svg');
String get icPrinter => _getImagePath('ic_printer.svg');
String get icPreferences => _getImagePath('ic_preferences.svg');
String get icNotification => _getImagePath('ic_notification.svg');
String get icRemoveRule => _getImagePath('ic_remove_rule.svg');
String get icCheckboxUnselected => _getImagePath('ic_checkbox_unselected.svg');
String get icCheckboxSelected => _getImagePath('ic_checkbox_selected.svg');
String get icGoodSignature => _getImagePath('ic_good_signature.svg');
String get icBadSignature => _getImagePath('ic_bad_signature.svg');
String get icDeleteSelection => _getImagePath('ic_delete_selection.svg');
String get icLogoTwakeWelcome => _getImagePath('ic_logo_twake_welcome.svg');
String get icHelp => _getImagePath('ic_help.svg');
String get icDownloadAll => _getImagePath('ic_download_all.svg');
String get icCopy => _getImagePath('ic_copy.svg');
String get icSubaddressingAllow => _getImagePath('ic_subaddressing_allow.svg');
String get icSubaddressingDisallow => _getImagePath('ic_subaddressing_disallow.svg');
String get icMarkAsImportant => _getImagePath('ic_mark_as_important.svg');
String get icCloseDialog => _getImagePath('ic_close_dialog.svg');
String get icDoubleArrowUp => _getImagePath('ic_double_arrow_up.svg');
String get icDoubleArrowDown => _getImagePath('ic_double_arrow_down.svg');
String get icRefreshQuotas => _getImagePath('ic_refresh_quotas.svg');
String get icCreateFilter => _getImagePath('ic_create_filter.svg');
String get icArrowBack => _getImagePath('ic_arrow_back.svg');
String get icRadio => _getImagePath('ic_radio.svg');
String get icRadioSelected => _getImagePath('ic_radio_selected.svg');
String get icCheck => _getImagePath('ic_check.svg');
String get icFileDownload => _getImagePath('ic_file_download.svg');
String get icTwakeWorkplace => _getIconPath('icon_twp.png');
String get animLottieTmail => _getAnimationPath('lottie-tmail.json');
String get animLottieScribe => _getAnimationPath('lottie-scribe.json');
String get icExpandArrows => _getImagePath('ic_expand_arrows.svg');
String get icPremium => _getImagePath('ic_premium.svg');
String get icCloud => _getImagePath('ic_cloud.svg');
String get icNoRules => _getImagePath('ic_no_rules.svg');
String get icStorage => _getImagePath('ic_storage.svg');
String get icWarning => _getImagePath('ic_warning.svg');
String get icKeyboard => _getImagePath('ic_keyboard.svg');
String get icMessage => _getImagePath('ic_message.svg');
String get icNavigation => _getImagePath('ic_navigation.svg');
String get icReading => _getImagePath('ic_reading.svg');
String get icMoveFolderContent => _getImagePath('ic_move_folder_content.svg');
String get icInsertLink => _getImagePath('ic_insert_link.svg');
String get icRemoveLink => _getImagePath('ic_remove_link.svg');
String get icText => _getImagePath('ic_text.svg');
String get icUser => _getImagePath('ic_user.svg');
String get icSparkle => _getImagePath('ic_sparkle.svg');
String get icGradientSparkle => _getImagePath('ic_gradient_sparkle.svg');
String get icAiChangeTons => _getImagePath('ic_ai_change_tons.svg');
String get icAiGrammar => _getImagePath('ic_ai_grammar.svg');
String get icAiImprove => _getImagePath('ic_ai_improve.svg');
String get icAiTranslate => _getImagePath('ic_ai_translate.svg');
String get icAiBullets => _getImagePath('ic_ai_bullets.svg');
String get icAiEmojify => _getImagePath('ic_ai_emojify.svg');
String get icAiShorter => _getImagePath('ic_ai_shorter.svg');
String get icAiMoreCasual => _getImagePath('ic_ai_more_casual.svg');
String get icAiMoreDetail => _getImagePath('ic_ai_more_detail.svg');
String get icAiMoreProfessional => _getImagePath('ic_ai_more_professional.svg');
String get icAiMorePolite => _getImagePath('ic_ai_more_polite.svg');
String get icTag => _getImagePath('ic_tag.svg');
String get icLabel => _getImagePath('ic_label.svg');
String get icColorPicker => _getImagePath('ic_color_picker.svg');
String get icThumbsUp => _getImagePath('ic_thumbs_up.svg');
String _getImagePath(String imageName) {
return AssetsPaths.images + imageName;
}
String _getIconPath(String iconName) {
return AssetsPaths.icons + iconName;
}
String _getAnimationPath(String animationName) {
return AssetsPaths.animations + animationName;
}
String getConfigurationImagePath(String imageName) {
return AssetsPaths.configurationImages + imageName;
}
}