Flutter :How to solve flutter_svg pub get failed error?
The version of flutter_svg
(0.18.0) can only work with versions of flutter
from 1.18.0-6.0.pre
above. So you'll have to use a lower version of the flutter_svg
package.
Try flutter_svg version 0.17.4
replace
flutter_svg: ^0.18.0
with
flutter_svg: ^0.17.4
in your pubspec.yaml