提交 50a79473 authored 作者: yueweilu's avatar yueweilu

文字超长展示

上级 4bb6cec5
...@@ -105,7 +105,11 @@ class BuildDayItem extends StatelessWidget { ...@@ -105,7 +105,11 @@ class BuildDayItem extends StatelessWidget {
child: Text(courseModel.typeName,style: TextStyle(fontSize: 11.w,height: 1.3,color:AppTheme.primary),), child: Text(courseModel.typeName,style: TextStyle(fontSize: 11.w,height: 1.3,color:AppTheme.primary),),
), ),
// Spacer(), // Spacer(),
Text('上次读到:${courseModel.lastChapter}',style: TextStyle(fontSize: 11.w,height: 1.3,color: Colours.c6),) Container(
width: 120,
alignment: Alignment.centerRight,
child: Text('上次读到:${courseModel.lastChapter}',style: TextStyle(fontSize: 11.w,height: 1.3,color: Colours.c6),maxLines: 1,overflow: TextOverflow.ellipsis,),
)
], ],
) )
], ],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论