Add object for model and core module
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
|
||||
extension CapitalizeExtension on String {
|
||||
String get inCaps => this.length > 0 ?'${this[0].toUpperCase()}${this.substring(1)}':'';
|
||||
String get allInCaps => this.toUpperCase();
|
||||
String get capitalizeFirstEach => this.replaceAll(RegExp(' +'), ' ').split(" ").map((str) => str.inCaps).join(" ");
|
||||
}
|
||||
@@ -39,4 +39,11 @@ extension AppColor on Color {
|
||||
static const bgMailboxListMail = Color(0xFFFBFBFF);
|
||||
static const bgMessenger = Color(0xFFF2F2F5);
|
||||
static const textButtonColor = Color(0xFF182952);
|
||||
static const attachmentFileBorderColor = Color(0xFFEAEAEA);
|
||||
static const attachmentFileNameColor = Color(0xFF182952);
|
||||
static const attachmentFileSizeColor = Color(0xFF7E869B);
|
||||
static const avatarColor = Color(0xFFE6E5FF);
|
||||
static const avatarTextColor = Color(0xFF3840F7);
|
||||
static const sentTimeTextColorUnRead = Color(0xFF182952);
|
||||
static const subjectEmailTextColorUnRead = Color(0xFF3840F7);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user