// Three-line list
ListView(
children: [
ListTile(
title: Text('List item 1'),
isThreeLine: true,
subtitle: Text('Secondary text
Tertiary text'),
leading: Icon(Icons.label),
trailing: Text('Metadata'),
),
],
)
// Two-line list
ListView(
children: [
ListTile(
title: Text('List item 1'),
subtitle: Text('Secondary text'),
leading: Icon(Icons.label),
trailing: trailing: Text('Metadata'),
),
],
)
// Single-line list
ListView(
children: [
ListTile(
title: Text('Primary text'),
leading: Icon(Icons.label),
trailing: Text('Metadata'),
),
],
)
// Three-line list
ListView(
children: [
ListTile(
title: Text('List item 1'),
isThreeLine: true,
subtitle: Text('Secondary text
Tertiary text'),
leading: Icon(Icons.label),
trailing: Text('Metadata'),
),
],
)
// Two-line list
ListView(
children: [
ListTile(
title: Text('List item 1'),
subtitle: Text('Secondary text'),
leading: Icon(Icons.label),
trailing: trailing: Text('Metadata'),
),
],
)
// Single-line list
ListView(
children: [
ListTile(
title: Text('Primary text'),
leading: Icon(Icons.label),
trailing: Text('Metadata'),
),
],
)