zoukankan      html  css  js  c++  java
  • card

    代码:

    var card = new Card(
    child: Column(
    children: <Widget>[
    ListTile(
    title: Text('算力的经发局围殴放假哦啊接违法',style: TextStyle(fontWeight: FontWeight.w500),),
    subtitle: Text('所未见佛我接文件佛为'),
    leading: new Icon(Icons.account_box,color: Colors.lightBlue,),
    ),
    new Divider(),
    ListTile(
    title: Text('算力的经发局围殴放假哦啊接违法',style: TextStyle(fontWeight: FontWeight.w500),),
    subtitle: Text('所未见佛我接文件佛为'),
    leading: new Icon(Icons.account_box,color: Colors.lightBlue,),
    ),
    new Divider(),
    ListTile(
     
    title: Text('算力的经发局围殴放假哦啊接违法',style: TextStyle(fontWeight: FontWeight.w500),),
    subtitle: Text('所未见佛我接文件佛为'),
    leading: new Icon(Icons.account_box,color: Colors.lightBlue,),
    ),
     


    ],
    ),
    );
     
    总结:
     

    //卡片式布局

    card(

     

    child: Column(

            children: <Widget>[

                ListTile(

                  title: Text('算力的经发局围殴放假哦啊接违法',style: TextStyle(fontWeight: FontWeight.w500),),

                  subtitle: Text('所未见佛我接文件佛为'),

                  leading: new Icon(Icons.account_box,color: Colors.lightBlue,),

                ),

                new Divider(),//下划线

                    ListTile(

                  title: Text('算力的经发局围殴放假哦啊接违法',style: TextStyle(fontWeight: FontWeight.w500),),

                  subtitle: Text('所未见佛我接文件佛为'),

                  leading: new Icon(Icons.account_box,color: Colors.lightBlue,),

                ),

       

     

            ],

          ),

     

     

    )

  • 相关阅读:
    对于bilibili主页head部分的代码的总结以及疑问。
    小项目使用框架(B/S),简单实现mvc分离
    petshop4学习_重构DataList实现分页
    照书抄了个小的sniffer。不过有问题测试不能通过,请求各位帮帮我
    《灵魂的迷茫》
    vs2005中gridview的RowCommand事件
    快速得到google的Gmail(已申请的免看)
    命令行下重启/启动停止IIS服务器的命令
    ES6之const命令
    不容忽视的js面试题
  • 原文地址:https://www.cnblogs.com/pp-pping/p/12163247.html
Copyright © 2011-2022 走看看