how to put onpressed for circle avatar in flutter code example
Example: how to make an image contained in circle avatar in flutter
CircleAvatar(
radius: 30.0,
backgroundImage:
NetworkImage("${snapshot.data.hitsList[index].previewUrl}"),
backgroundColor: Colors.transparent,
)