ScerIO / packages.flutter

👨‍💻 Plugins and packages for Flutter framework
https://pub.dev/publishers/serge.software/packages
MIT License
437 stars 420 forks source link

Unable to run on Flutter Version >= 3.15 #476

Open karseng9898 opened 5 months ago

karseng9898 commented 5 months ago

Will have this error while trying to run the project on flutter version 3.15 and above ../../../.pub-cache/hosted/pub.dev/pdfx-2.5.0/lib/src/viewer/pdf_page_image_provider.dart:24:55: Error: 'DecoderCallback' isn't a type.

To Reproduce Steps to reproduce the behavior:

  1. use flutter version v3.15 and above
  2. run the project
  3. See error

Additional context Works fine on flutter v3.13.9 and before

abdelaziz-mahdy commented 5 months ago

https://github.com/ScerIO/packages.flutter/issues/448#issuecomment-1813991815 its fixed on Github but not published on pub.dev

ManuelRauber commented 4 months ago

Please check the new version on PubDev, it has been updated to 2.6.0 and includes the fix for the DecoderCallback issue.