商品标题可换行

master
章文轩 2 years ago
parent 20013b5f5b
commit d3e2613006

@ -240,7 +240,7 @@ class MessageWidget extends StatelessWidget {
margin: EdgeInsets.only(left: 8), margin: EdgeInsets.only(left: 8),
child: Text( child: Text(
title, title,
maxLines: 1, maxLines: 2,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
), ),
@ -676,7 +676,7 @@ class MessageWidget extends StatelessWidget {
margin: EdgeInsets.only(left: 8), margin: EdgeInsets.only(left: 8),
child: Text( child: Text(
title, title,
maxLines: 1, maxLines: 2,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
), ),

Loading…
Cancel
Save