代码:
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,),
),
],
),
)