📜  Flutter 如何使用 ListTile 三行 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:05.857000             🧑  作者: Mango

代码示例1
// Three-line list
ListView(
  children: [
    ListTile(
      title: Text('List item 1'),
      isThreeLine: true,
      subtitle: Text('Secondary text\nTertiary text'),
      leading: Icon(Icons.label),
      trailing: Text('Metadata'),
    ),
  ],
)