Reputation: 397
Can't flutter pictures have the same file name?
Is it not allowed to have the same file name in different folders?
Upvotes: 0
Views: 625
Reputation: 167
Flutter is a Global Framework that runs the only main.dart and pubsc.yaml file is getting image based on image name from assets folder so if you have files with the same name in the assets folder no matters that are in a different folder, that shows last execute code line image.
Upvotes: 1
Reputation: 729
Just try renaming that asset name and check. You can find out where the problem occurs.
Upvotes: 0