how to insert image in Listtile in flitter code example
Example 1: leading image flutter
ListTile(
leading: CircleAvatar(
backgroundImage: Image.file(file),
child: GestureDetector(onTap: () {}),
),
// (...)
);
Example 2: how to put two trailing icons in list tile flutter
Adding mainAxisSize: MainAxisSize.min to the Row() instance fixes the issue.