flutter图文列表

flutter图文列表,可以直接粘贴到编辑器中测试:

import 'package:flutter/material.dart';

class FocusList extends StatelessWidget {
  const FocusList({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return ListView(
      padding: const EdgeInsets.all(10),
      children: <Widget>[
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                // width: 300,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                // width: 300,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                // width: 300,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                // width: 300,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                // width: 300,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                // width: 300,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                // width: 300,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                // width: 300,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
        Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              children: [
                Container(
                    width: 40,
                    height: 40,
                    margin: EdgeInsets.only(top: 0),
                    decoration: BoxDecoration(
                        shape: BoxShape.rectangle,
                        borderRadius: BorderRadius.circular(40),
                        image: const DecorationImage(
                            image: NetworkImage(
                                'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg')))),
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Container(
                      margin: const EdgeInsets.only(left: 10),
                      child: const Text("张廷玉",
                          style: TextStyle(fontSize: 18, color: Colors.black)),
                    ),
                    Container(
                      margin: const EdgeInsets.only(top: 5, left: 10),
                      child: const Text("15分钟前",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ),
                  ],
                ),
              ],
            ),
            Container(
              margin: const EdgeInsets.only(top: 5, left: 0),
              child: const Text("有网友询问反射给final修饰的字段设值,为啥设值会失败,之前也深入学习一下反射。",
                  style: TextStyle(fontSize: 14, color: Colors.black)),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 10, 5, 5),
              child: Container(
                alignment: Alignment.centerLeft,
                // width: 300,
                height: 160,
                decoration: BoxDecoration(
                  shape: BoxShape.rectangle,
                  borderRadius: BorderRadius.circular(5),
                  image: const DecorationImage(
                      image: NetworkImage(
                          'https://pic2.zhimg.com/v2-639b49f2f6578eabddc458b84eb3c6a1.jpg'),
                      fit: BoxFit.cover),
                ),
              ),
            ),
            Padding(
              padding: const EdgeInsets.fromLTRB(5, 0, 5, 0),
              child: Row(
                crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                      Text("160",
                          style: TextStyle(fontSize: 14, color: Colors.black)),
                    ],
                  ),
                  Row(
                    children: const [
                      Icon(Icons.add),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
      ],
    );
  }
}

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值