美文网首页
Flutter 代码分享(二)

Flutter 代码分享(二)

作者: Victory_886 | 来源:发表于2019-07-31 21:08 被阅读0次

    本次代码仅限于笔记!!
    代码开始

    Row(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              avatarContainer,
              Expanded(
                child: Container(
                  padding: EdgeInsets.only(left: 5.0, right: 5.0),
                  child: Column(
                    crossAxisAlignment: CrossAxisAlignment.start,
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: <Widget>[
                      Text(
                        conversation.title,
                        style: TextStyle(
                          fontSize: 14.0,
                          color: Colors.black,
                        ),
                      ),
                      Container(
                        height: 2.0,
                      ),
                      Text(
                        conversation.des,
                        maxLines: 1,
                        style: TextStyle(
                          fontSize: 12.0,
                          color: Color(0xff9e9e9e),
                        ),
                      ),
                    ],
                  ),
                ),
              ),
              Container(
                child: Column(
                  crossAxisAlignment: CrossAxisAlignment.end,
                  children: _rightAree
                ),
              ),
            ],
          ),
    

    相关文章

      网友评论

          本文标题:Flutter 代码分享(二)

          本文链接:https://www.haomeiwen.com/subject/upexdctx.html