TF-248 Change position icon of item list email
This commit is contained in:
@@ -28,7 +28,7 @@ extension DateTimeNullableExtension on DateTime? {
|
||||
String toPattern() {
|
||||
if (this != null) {
|
||||
if (this!.isToday()) {
|
||||
return 'h:mm a';
|
||||
return 'H:mm';
|
||||
} else if (this!.isYesterday()) {
|
||||
return 'EEE';
|
||||
} else if (this!.isThisYear()) {
|
||||
|
||||
@@ -67,7 +67,7 @@ extension AppColor on Color {
|
||||
|
||||
static const mapGradientColor = [
|
||||
[Color(0xFF21D4FD), Color(0xFFB721FF)],
|
||||
[Color(0xFF43E97B), Color(0xFF38F9D7)],
|
||||
[Color(0xFF38F9D7), Color(0xFF43E97B)],
|
||||
[Color(0xFF11E6F0), Color(0xFF4FACFE)],
|
||||
[Color(0xFFE88395), Color(0xFFEF9C8F)],
|
||||
[Color(0xFF8DDAD5), Color(0xFF00CDAC)],
|
||||
|
||||
@@ -43,6 +43,10 @@ class ImagePaths {
|
||||
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');
|
||||
String get icChevron => _getImagePath('ic_chevron.svg');
|
||||
|
||||
String _getImagePath(String imageName) {
|
||||
return AssetsPaths.images + imageName;
|
||||
|
||||
@@ -71,6 +71,7 @@ class AvatarBuilder {
|
||||
? LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
tileMode: TileMode.decal,
|
||||
colors: _avatarColors ?? [])
|
||||
: null,
|
||||
color: _bgColor ?? AppColor.avatarColor),
|
||||
|
||||
Reference in New Issue
Block a user