Answers for "adding image in ListTile flutter"

0

adding image in ListTile flutter

ListTile(
  leading: CircleAvatar(
    backgroundImage: AssetImage(
      "image.png",
    ), 
  ),
  tileColor: widget.color,
  title: widget.title,
  subtitle: Text(
    widget.subtitle,
    style: TextStyle(color: Colors.black.withOpacity(0.6)),
  ),
),
Posted by: Guest on August-13-2021

Browse Popular Code Answers by Language