|
...
|
...
|
@@ -34,7 +34,7 @@ class RowMultiText extends StatelessWidget { |
|
|
|
Align(
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
child: Text(
|
|
|
|
title,
|
|
|
|
title ?? '',
|
|
|
|
style:
|
|
|
|
TextStyle(color: textColor, fontSize: ScreenUtil().setSp(30)),
|
|
|
|
),
|
|
...
|
...
|
@@ -46,19 +46,30 @@ class RowMultiText extends StatelessWidget { |
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.end,
|
|
|
|
children: [
|
|
|
|
if (imageName != null && content.length > 0)
|
|
|
|
if (imageName != null &&
|
|
|
|
content.length > 0 &&
|
|
|
|
content != null)
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.only(right: w(2)),
|
|
|
|
child: Image.asset(
|
|
|
|
Utils.getImgPath(imageName),
|
|
|
|
width: w(20),
|
|
|
|
)),
|
|
|
|
Text(content,
|
|
|
|
style: TextStyle(
|
|
|
|
color: textColorR,
|
|
|
|
fontSize: ScreenUtil().setSp(30)),
|
|
|
|
softWrap: true,
|
|
|
|
textAlign: this.textAlign),
|
|
|
|
imageName == null
|
|
|
|
? Expanded(
|
|
|
|
child: Text(content ?? '',
|
|
|
|
style: TextStyle(
|
|
|
|
color: textColorR,
|
|
|
|
fontSize: ScreenUtil().setSp(30)),
|
|
|
|
softWrap: true,
|
|
|
|
textAlign: this.textAlign))
|
|
|
|
: Text(content??'',
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
color: textColorR,
|
|
|
|
fontSize: ScreenUtil().setSp(30)),
|
|
|
|
softWrap: true,
|
|
|
|
textAlign: this.textAlign),
|
|
|
|
],
|
|
|
|
)),
|
|
|
|
)
|
...
|
...
|
|