Comments (4)
Started getting the error after upgrading to the latest version of Flutter
from packages.flutter.
I also get the error building to Android
/C:/Users/trust/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.4.0/lib/src/viewer/pdf_page_image_provider.dart:24:55: Error: Type 'DecoderCallback' not found.
ImageStreamCompleter load(PdfPageImageProvider key, DecoderCallback decode) =>
^^^^^^^^^^^^^^^
/C:/Users/trust/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.4.0/lib/src/viewer/pdf_page_image_provider.dart:40:7: Error: Type 'DecoderCallback' not found.
DecoderCallback decode) async {
^^^^^^^^^^^^^^^
/C:/Users/trust/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.4.0/lib/src/viewer/pdf_page_image_provider.dart:24:55: Error: 'DecoderCallback' isn't a type.
ImageStreamCompleter load(PdfPageImageProvider key, DecoderCallback decode) =>
^^^^^^^^^^^^^^^
/C:/Users/trust/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.4.0/lib/src/viewer/pdf_page_image_provider.dart:40:7: Error: 'DecoderCallback' isn't a type.
DecoderCallback decode) async {
^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
-
Where:
Script 'C:\Flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1350 -
What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
Process 'command 'C:\Flutter\bin\flutter.bat'' finished with non-zero exit value 1
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
from packages.flutter.
Duplicate of: #448
from packages.flutter.
Please check the new version on PubDev, it has been updated to 2.6.0 and includes the fix for the DecoderCallback issue.
from packages.flutter.
Related Issues (20)
- Build not compatible with flutter 3.16.8 release HOT 2
- Error: Type 'DecoderCallback' not found HOT 2
- Preload slides
- Null check operator used on a null value
- Error in iOS: Could not build the precompiled application for the device. HOT 1
- LiveList.options not working with NotificationListener
- Drawing annotations on the pdfx
- pdfx: Migrate to `package:web` to support WASM HOT 2
- PDFx: page resize with different aspect ratio HOT 1
- When the PDF is one-page-long and user zooms in, he cannot zoom out completely.
- Printing and pdfx are incompatible in windows
- How can i custom Widget?
- Support for js ^0.7.1
- pdfx 2.6.0 does not build on Windows
- Support for Signature widgets/annotations ?
- getting cfi as null "/6/0[null]!/4/2/4" in middle HOT 1
- [pdfx] Android : Close document throw a PlateformException with an Unknown error HOT 1
- [pdfx] Update to `device_info_plus` >= 10.0.1 HOT 12
- Support js 0.7.1 in pdfx
- Can you update the image package to be compatible with other packages ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packages.flutter.