flutter_svg in pub.dev install page tips use flutter_svg 0.19.2+1 version ,
but flutter_svg 0.19.2+1 is use Higher per version , no use flutter stable version ,
Should I add a pair of flitters_ The installation version of stable prompt, rather than developers need to manually adjust the flutter_ Svg version, preview version is not the first choice for development .
same here
Did you find a solution to this?
current release sdk version is 1.22.5 but flutter_svg using sdk version 1.24.0-6.0.pre
the solution is downgrade the flutter_svg version to 0.19.0 or change to Dev Channel to upgrade to sdk version 1.24.0-6.0.pre
use 0.19.1
dependencies:
flutter_svg: ^0.19.1
Use can use flutter_svg: ^0.19.0
using 1.22.6. doesn't work.
flutter_svg: ^0.19.2+1
Older flutter_svg works with newer flutter sdk, strange.
You need to make sure to observe the SDK constraints on the flutter_svg package -they're generally set correctly, although only using a lower bound. I know this is a source of confusion, but there's not a ton I can doa bout this (except being more vigilant about publishing packages not marked as -dev or whatever to pub).
Most helpful comment
use 0.19.1
dependencies:
flutter_svg: ^0.19.1