TF-313 Apply new ui for subject, address, body EmailView
This commit is contained in:
@@ -12,6 +12,7 @@ class AvatarBuilder {
|
||||
OnTapAvatarActionClick? _onTapAvatarActionClick;
|
||||
List<Color>? _avatarColors;
|
||||
List<BoxShadow>? _boxShadows;
|
||||
TextStyle? _textStyle;
|
||||
|
||||
void key(Key key) {
|
||||
_key = key;
|
||||
@@ -41,6 +42,10 @@ class AvatarBuilder {
|
||||
_boxShadows = boxShadows;
|
||||
}
|
||||
|
||||
void addTextStyle(TextStyle? textStyle) {
|
||||
_textStyle = textStyle;
|
||||
}
|
||||
|
||||
void addOnTapActionClick(OnTapAvatarActionClick onTapAvatarActionClick) {
|
||||
_onTapAvatarActionClick = onTapAvatarActionClick;
|
||||
}
|
||||
@@ -81,7 +86,7 @@ class AvatarBuilder {
|
||||
),
|
||||
child: Text(
|
||||
'${_text ?? ''}',
|
||||
style: TextStyle(fontSize: 20, color: _textColor ?? AppColor.avatarTextColor, fontWeight: FontWeight.w500)
|
||||
style: _textStyle ?? TextStyle(fontSize: 20, color: _textColor ?? AppColor.avatarTextColor, fontWeight: FontWeight.w500)
|
||||
)
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user