long
long

Reputation: 397

Can flutter pictures have the same file name?

Can't flutter pictures have the same file name? Is it not allowed to have the same file name in different folders? enter image description here

Upvotes: 0

Views: 625

Answers (2)

Chirag Rathod
Chirag Rathod

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

Joel jones
Joel jones

Reputation: 729

Just try renaming that asset name and check. You can find out where the problem occurs.

Upvotes: 0

Related Questions