Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/images/btn-img.png'),
fit: BoxFit.cover,
),
),
...
),
The bug is that the image of the container widget is misplaced (a little bottom relative to Container's position). Does anyone have experienced same problem?
Update
when I use another image with larger height, it works fine (My current image height is 302px)
Update2
The problem seems to be with color filter, when I disable color filter it works fine.