leading property flutter for image code example
Example: leading image flutter
ListTile(
leading: CircleAvatar(
backgroundImage: Image.file(file),
child: GestureDetector(onTap: () {}),
),
// (...)
);
ListTile(
leading: CircleAvatar(
backgroundImage: Image.file(file),
child: GestureDetector(onTap: () {}),
),
// (...)
);