'DecoderCallback' not found in pdfx 2.3.0

Hello,

I am experiencing a build issue with my Flutter app for iOS. The build process fails with the following error related to the pdfx package, version 2.3.0. I upgraded to 2.4.0 and had the same issue.

Error (Xcode):

../../.pub-cache/hosted/pub.dev/pdfx-2.3.0/lib/src/viewer/pdf_page_image_provide

r.dart:24:55: Error: Type 'DecoderCallback' not found.

Encountered error while building for device.

Has anyone come across this?

9 replies