帮助中心

首页 » 拓扑天然气收费系统 » 抄表客户端 » flutter的row多行文本显示
admin - 2020/8/20 23:21:04
            new Row(
                children: <Widget>[

    Expanded(child: Container(
    alignment: Alignment.centerLeft,
    width: double.infinity,
    margin: EdgeInsets.only(left: 5),
    child: Text(list[index].MSG_MX,
    style: TextStyle(
    fontSize: 14,
    color: Colors.black45,
    fontWeight: FontWeight.normal),
    maxLines: 3,
    overflow: TextOverflow.ellipsis,
    )),)

                ]),
1
查看完整版本: flutter的row多行文本显示