Currently I need to display more than three elements in a list tile I used leading, title and trailing but I am unable to add an image inbetween the leading and title the current code I have vs the required listtile
return ListTile(
tileColor: Colors.white,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
),
leading:
Icon(
isSaved ? Icons.favorite : Icons.favorite_border,
color: isSaved ? Colors.red : null,),
title: Text(nameData.getName(index)),
trailing: Text(
nameData.getDate(index),
),
);
If you wanna use rectangle image, you an use