TF-313 Apply new ui for AppBar EmailView

This commit is contained in:
dab246
2022-03-09 14:32:21 +07:00
committed by Dat H. Pham
parent 6dcf9f9ea7
commit 11735ed1d7
63 changed files with 312 additions and 244 deletions
@@ -87,7 +87,9 @@ extension AppColor on Color {
static const colorConfirmActionDialog= Color(0xFFF2F2F2);
static const colorEmailAddress = Color(0xFF333333);
static const colorHintEmailAddressInput = Color(0x993C3C43);
static const coloDividerComposer = Color(0xFFC6C6C8);
static const colorDividerComposer = Color(0xFFC6C6C8);
static const colorDividerEmailView = Color(0xFFD7D8D9);
static const colorButton = Color(0xFF959DAD);
static const mapGradientColor = [
[Color(0xFF21D4FD), Color(0xFFB721FF)],
@@ -1,48 +1,26 @@
import 'package:core/presentation/resources/assets_paths.dart';
class ImagePaths {
String get icTMailLogo => _getImagePath('tmail_logo.svg');
String get icClose => _getImagePath('ic_close.svg');
String get icSearch => _getImagePath('ic_search.svg');
String get icNextArrow => _getImagePath('ic_next_arrow.svg');
String get icMailboxInbox => _getImagePath('ic_mailbox_inbox.svg');
String get icMailboxTrash => _getImagePath('ic_mailbox_trash.svg');
String get icMailboxAllMail => _getImagePath('ic_mailbox_allmail.svg');
String get icMailboxDrafts => _getImagePath('ic_mailbox_draft.svg');
String get icMailboxSent => _getImagePath('ic_mailbox_sent.svg');
String get icMailboxSpam => _getImagePath('ic_mailbox_spam.svg');
String get icMailboxTemplate => _getImagePath('ic_mailbox_template.svg');
String get icMailboxFolder => _getImagePath('ic_mailbox_folder.svg');
String get icMailboxNewFolder => _getImagePath('ic_mailbox_new_folder.svg');
String get icFolderArrow => _getImagePath('ic_folder_arrow.svg');
String get icExpandFolder => _getImagePath('ic_expand_folder.svg');
String get icBack => _getImagePath('ic_back.svg');
String get icEyeDisable => _getImagePath('ic_eye_disable.svg');
String get icFolder => _getImagePath('ic_folder.svg');
String get icForward => _getImagePath('ic_forward.svg');
String get icReply => _getImagePath('ic_reply.svg');
String get icReplyAll => _getImagePath('ic_reply_all.svg');
String get icFlag => _getImagePath('ic_flag.svg');
String get icTrash => _getImagePath('ic_trash.svg');
String get icCalendar => _getImagePath('ic_calendar.svg');
String get icShare => _getImagePath('ic_share.svg');
String get icAttachmentFile => _getImagePath('ic_attachment_file.svg');
String get icOnline => _getImagePath('ic_online.svg');
String get icOffline => _getImagePath('ic_offline.svg');
String get icFlagged => _getImagePath('ic_flagged.svg');
String get icMoreReceiver => _getImagePath('ic_more_receiver.svg');
String get icComposerClose => _getImagePath('ic_composer_close.svg');
String get icComposerSend => _getImagePath('ic_composer_send.svg');
String get icComposerMenu => _getImagePath('ic_composer_menu.svg');
String get icComposerFileShare => _getImagePath('ic_composer_file_share.svg');
String get icExpandAddress => _getImagePath('ic_expand_address.svg');
String get icSelected => _getImagePath('ic_selected.svg');
String get icExpandAttachment => _getImagePath('ic_expand_attachment.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 icEmptyImageDefault => _getImagePath('empty_image_default.svg');
String get icUnread => _getImagePath('ic_unread.svg');
String get icStar => _getImagePath('ic_star.svg');
String get icUnStar => _getImagePath('ic_unstar.svg');
String get icAttachment => _getImagePath('ic_attachment.svg');
@@ -51,40 +29,41 @@ class ImagePaths {
String get icFilter => _getImagePath('ic_filter.svg');
String get icSearchBar => _getImagePath('ic_search_bar.svg');
String get icCompose => _getImagePath('ic_compose.svg');
String get icReadV2 => _getImagePath('ic_read_v2.svg');
String get icUnreadV2 => _getImagePath('ic_unread_v2.svg');
String get icSelectedV2 => _getImagePath('ic_selected_v2.svg');
String get icUnSelectedV2 => _getImagePath('ic_unselected_v2.svg');
String get icDeleteV2 => _getImagePath('ic_delete_v2.svg');
String get icSpamV2 => _getImagePath('ic_spam_v2.svg');
String get icMoveV2 => _getImagePath('ic_move_v2.svg');
String get icFlagV2 => _getImagePath('ic_flag_v2.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 icFlag => _getImagePath('ic_flag.svg');
String get icReadToast => _getImagePath('ic_read_toast.svg');
String get icUnreadToast => _getImagePath('ic_unread_toast.svg');
String get icReplyAllV2 => _getImagePath('ic_reply_all_v2.svg');
String get icReplyV2 => _getImagePath('ic_reply_v2.svg');
String get icForwardV2 => _getImagePath('ic_forward_v2.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 icCloseMailbox => _getImagePath('ic_close_mailbox.svg');
String get icAddNewFolder => _getImagePath('ic_add_new_folder.svg');
String get icFolderMailbox => _getImagePath('ic_folder_mailbox.svg');
String get icMailboxInboxV2 => _getImagePath('ic_mailbox_inbox_v2.svg');
String get icMailboxDraftsV2 => _getImagePath('ic_mailbox_drafts_v2.svg');
String get icMailboxSentV2 => _getImagePath('ic_mailbox_sent_v2.svg');
String get icMailboxArchivedV2 => _getImagePath('ic_mailbox_archived_v2.svg');
String get icMailboxSpamV2 => _getImagePath('ic_mailbox_spam_v2.svg');
String get icMailboxTrashV2 => _getImagePath('ic_mailbox_trash_v2.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 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 icLogoTMailV2 => _getImagePath('logo_tmail_v2.png');
String get icLogoTMail => _getImagePath('logo_tmail.png');
String get icSendToast => _getImagePath('ic_send_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 icDeleteEmailAddress => _getImagePath('ic_delete_email_address.svg');
String get icDeleteEmail => _getImagePath('ic_delete_email.svg');
String _getImagePath(String imageName) {
return AssetsPaths.images + imageName;