decorate a list flutter code example
Example 1: how to put two trailing icons in list tile flutter
Adding mainAxisSize: MainAxisSize.min to the Row() instance fixes the issue.
Example 2: add list fromflutter
ListView(
children: <Widget>[
ListTile(
leading: Icon(Icons.map),
title: Text('Map'),
),
ListTile(
leading: Icon(Icons.photo_album),
title: Text('Album'),
),
ListTile(
leading: Icon(Icons.phone),
title: Text('Phone'),
),
],
);