I have a listTile as a child of a container in flutter, I want to remove this space, and also enlarge the Image.network

Viewed 175

I am trying to reduce the size of the container, and also enlarge the photo

Ui of the problem source code

1 Answers

You can use the visualDensity property to reduce the space.

The visualDensity value can be changed from -4.0 to 4.0.

Example:

ListTile(
    visualDensity: VisualDensity(horizontal: 0, vertical: -4),
    title: Text("xyz")
);
Related