You might be able to use something like this to override the dependency:
dependency_overrides:
flutter_svg: '0.5.1'
0
votes
Open the flutter_console.bat (on window) or flutter_console.sh (on linux) file from your downloaded root flutter folder. This should bring up a terminal running Flutter locally.
Now type flutter upgrade
This should resolve your issue considering its a version compatibility issue.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more