纠正社区动态文字为输入间距依然存在问题

pull/1/head
戴余标 3 years ago
parent d5f07d1409
commit c03a418a89

@ -273,6 +273,7 @@ class _ChatCardState extends State<ChatCard> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
32.hb, 32.hb,
if(!widget.model.content!.isEmptyOrNull)
widget.model.content!.text.size(32.sp).black.make(), widget.model.content!.text.size(32.sp).black.make(),
32.hb, 32.hb,
_renderImage(), _renderImage(),

@ -156,6 +156,7 @@ class _ChatCardDetailState extends State<ChatCardDetail> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
32.hb, 32.hb,
if(!widget.model.content!.isEmptyOrNull)
widget.model.content!.text widget.model.content!.text
.size(28.sp) .size(28.sp)
.color(ktextSubColor) .color(ktextSubColor)

Loading…
Cancel
Save