Init core module

This commit is contained in:
dab246
2021-07-27 12:50:45 +07:00
committed by Dat H. Pham
parent e26927790b
commit 5b0a8f6fb2
30 changed files with 1029 additions and 0 deletions
@@ -0,0 +1,3 @@
class AssetsPaths {
static const images = 'assets/images/';
}
@@ -0,0 +1,23 @@
import 'package:core/presentation/resources/assets_paths.dart';
class ImagePaths {
String get icTMailLogo => _getImagePath('tmail_logo.svg');
String get icCloseMailbox => _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 _getImagePath(String imageName) {
return AssetsPaths.images + imageName;
}
}