Flutter: Found this candidate, but the arguments don't match
Try add in your pubsepc.yaml flutter_svg: ^0.17.3+1.For me works
Use the latest version of your package (flutter_svg: ^0.18.0)
It works for me
First I ran this command
flutter clean
then I added the latest version to my pubspec.yaml file
flutter_svg: ^0.18.0
then I ran the the following command
flutter pub get
then I ran successfully