I have am images folder and inside it i have table.png and then i have a main_menu folder in which i have another table.png file.
- images
- main_menu
- table.png
- //...other images here
- table.png
- //...other images here
- main_menu
When I do
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage("images/table.png"),
)
),
it takes the table.png image from the images/main_menu/ folder instead ... why is that?
Don't tell me it searches for the first place it finds the table.png file and just displays that. And in this case table.png under main_menu is the first one it finds and that's why it displays it. It's just a hunch but ... if it's true, then this is a bug, no ?
Cheers.