Closed SuuSoJeat closed 5 years ago
This might be related to this issue: flutter/flutter/issues/31962
Should be fixed by updating to the latest dependencies - I'll look into bumping our dependencies. (In particular flutter_svg
.)
@SuuSoJeat which Flutter channel are you on? Could you try switching to stable and trying it again? Did you update any other dependencies?
I haven't been able to replicate this on stable with updated packages and running the app via flutter run
on the final
branch.
I'm sorry for not updating this issue. It was because I was using master channel. Everything is working in stable. Thank for helping.
The issue is happening again. I believe upgrading flutter_svg to 0.13.1 and flutter_cached_network_image to 1.1.0 fixes the issue
@squillace91's solution fixed this issue for me. @squillace91 you should open a PR to fix this 🙂
^
file:///C:/Users/flutter_windows_v1.7.8+hotfix.4-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.5.5+1/lib/src/svg/xml_parsers.dart:297:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable
Just use flutter_svg: ^0.13.1. it will solve the issue!!