this is my asset folder structure:
pubspec.yaml contents:
where that I use icon:
everything is right but I don't know why still it doesn't work:
CodePudding user response:
It happens multiple time while developing with flutter. Steps which I usually do to solve this kind of issue:
->Restart the IDE and run pub get again (it works sometime).
->Run flutter clean, and re-run the App(It clears build cache of the App). It worked in most of the cases.




