Open minhduc1827 opened 4 years ago
Same issue. While upgrading flutter to 1.7. The flutter_svg v0.13.0 fails. I can't upgrade the flutter_svg since, this package is dependent on that specific version.
Same issue here when using _flutter_plugin_pdfviewer in connection with _cached_networkimage. If i update _cached_networkimage beyond 2.0.0 then pub get fails
Same Issue here
Because flutter_advanced_networkimage 0.5.0 depends on flutter_svg ^0.13.0 and no versions of flutter_advanced_networkimage match >0.5.0 <0.6.0, flutter_advanced_networkimage ^0.5.0 requires flutter_svg ^0.13.0.
And because flutter_plugin_pdf_viewer 1.0.7 depends on flutter_advanced_networkimage ^0.5.0, flutter_plugin_pdf_viewer 1.0.7 requires flutter_svg ^0.13.0.
So, because app depends on both flutter_plugin_pdf_viewer 1.0.7 and flutter_svg 0.17.3, version solving failed. pub get failed (1; So, because app depends on both flutter_plugin_pdf_viewer 1.0.7 and flutter_svg 0.17.3, version solving failed.)
Had the same issue, and package author does not seem likely to respond so I forked the project and fixed the dependencies problem to have it running. If you are in need just add this to your pubspec.yaml.
flutter_plugin_pdf_viewer:
git: https://github.com/fabiancrx/flutter_plugin_pdf_viewer.git
It is fully functional, tested with flutter 1.17.0
Thanks @fabiancrx
@fabiancrx When there's only 1 page in the pdf file, the picker crashes the app. And also I would like to localize the picker dialog (it says 'Pick a image' and I would like to show that in portuguese, since the app is going to be used in Brazil). Could you pls provide me some instructions on how to fork it and apply these changes (since I guess you're ok with the english dialog)? I've never done anything like this before. Thanks in advance.
same issue