|
...
|
...
|
@@ -95,28 +95,30 @@ class _FeastBoardItemState extends State<FeastBoardItem> { |
|
|
|
child: Row(
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: <Widget>[
|
|
|
|
Expanded(
|
|
|
|
flex: 3,
|
|
|
|
child: Container(
|
|
|
|
height: h(24),
|
|
|
|
// constraints: BoxConstraints.expand(),
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
margin: index ==
|
|
|
|
widget.boardModel.data[title]
|
|
|
|
.length -
|
|
|
|
1
|
|
|
|
? EdgeInsets.zero
|
|
|
|
: EdgeInsets.only(bottom: h(16)),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
horizontal: w(4), vertical: w(2)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: MyColours.color_438E93,
|
|
|
|
borderRadius:
|
|
|
|
BorderRadius.circular(w(5)),
|
|
|
|
Container(
|
|
|
|
height: h(24),
|
|
|
|
// constraints: BoxConstraints.expand(),
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
margin: index ==
|
|
|
|
widget.boardModel.data[title]
|
|
|
|
.length -
|
|
|
|
1
|
|
|
|
? EdgeInsets.zero
|
|
|
|
: EdgeInsets.only(bottom: h(16)),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
horizontal: w(4), vertical: w(2)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: MyColours.color_438E93,
|
|
|
|
borderRadius: BorderRadius.circular(w(5)),
|
|
|
|
),
|
|
|
|
child: ConstrainedBox(
|
|
|
|
constraints: BoxConstraints(
|
|
|
|
maxWidth: w(227),
|
|
|
|
),
|
|
|
|
child: Text(
|
|
|
|
'${boardSunModel.className}-${boardSunModel.rname}-桌子名称顿号隔开',
|
|
|
|
'${boardSunModel.className}-${boardSunModel.rname}-${boardSunModel.talbeStrShow}',
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
softWrap: true,
|
|
|
|
maxLines: 1,
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: font(14),
|
...
|
...
|
|