【发布时间】:2021-10-13 20:54:36
【问题描述】:
所以,我是 Flutter 的新手。我想做类似下图的东西。帮助我一无所知的人*sad.Expected Output
【问题讨论】:
-
请展示您到目前为止所做的尝试以及您需要具体帮助的地方
-
我不知道如何将图像、名称、文本等放入框内。抱歉,我不能说得很具体,因为我对此一无所知
标签: flutter dart flutter-layout
所以,我是 Flutter 的新手。我想做类似下图的东西。帮助我一无所知的人*sad.Expected Output
【问题讨论】:
标签: flutter dart flutter-layout
你使用 ListTile Widget 试试下面的代码希望对你有帮助
Card(
child: ListTile(
leading: Container(
width: 50.0,
height: 50.0,
decoration: BoxDecoration(
border: Border.all(color: Colors.black87),
image: DecorationImage(
image: NetworkImage(
'https://www.kindpng.com/picc/m/495-4953926_admin-icon-png-white-clipart-png-download-black.png',
),
),
shape: BoxShape.circle,
),
),
title: Text('JULE S'),
subtitle: Text(
'Love this product the smell color and everything are just lovely'),
trailing: Icon(Icons.person),
),
),
【讨论】: