I am doing a voting app and I have a problem, I want to stack images as many time there is votes(1 stack per vote). This is a picture of what I want to do. I tried to use Listview like this
ListView(
children: <Widget>[
Image(
image: AssetImage('assets/images/results/green.png'),
),
Image(
image: AssetImage('assets/images/results/green.png'),
),
],
),
The problem is that there is so much space between the 2 images. Can you help me ?
Try to wrap the image with:
Align(
alignment: Alignment.topLeft,
heightFactor: 0.94/*change this value until you are satisfied (between 0 and 1)*/,
child: //your image
),