TF-248 Update AppBar of ThreadView
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
extension CapitalizeExtension on String {
|
||||
String get inCaps => this.length > 0 ?'${this[0].toUpperCase()}${this.substring(1)}':'';
|
||||
String get inCaps => this.length > 0 ?'${this[0].toUpperCase()}${this.toLowerCase().substring(1)}':'';
|
||||
String get allInCaps => this.toUpperCase();
|
||||
String get capitalizeFirstEach => this.replaceAll(RegExp(' +'), ' ').split(" ").map((str) => str.inCaps).join(" ");
|
||||
}
|
||||
@@ -64,6 +64,7 @@ extension AppColor on Color {
|
||||
static const lineItemListColor = Color(0xFF99A2AD);
|
||||
static const colorNameEmail = Color(0xFF000000);
|
||||
static const colorContentEmail = Color(0xFF6D7885);
|
||||
static const colorTextButton = Color(0xFF007AFF);
|
||||
|
||||
static const mapGradientColor = [
|
||||
[Color(0xFF21D4FD), Color(0xFFB721FF)],
|
||||
|
||||
@@ -47,6 +47,8 @@ class ImagePaths {
|
||||
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 _getImagePath(String imageName) {
|
||||
return AssetsPaths.images + imageName;
|
||||
|
||||
Reference in New Issue
Block a user