DavBfr / dart_pdf

Pdf creation module for dart/flutter
https://pub.dev/packages/pdf
Apache License 2.0
1.39k stars 616 forks source link

Unable to build app on Flutter version 3.22.0 #1663

Open AdamHavlicek opened 4 months ago

AdamHavlicek commented 4 months ago

Describe the bug unable to compile application on latest stable version of flutter

To Reproduce Code snippet to reproduce the behavior: use flutter version 3.22.0 add latest version of printing to dependencies in pubspec file.

Expected behavior fix compatilibity issue with pdf_widget_wrapper

Screenshots image

Flutter Doctor
[✓] Flutter (Channel stable, 3.22.0, on EndeavourOS , locale en_US.UTF-8) • Flutter version 3.22.0 on channel stable at • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5dcb86f68f (7 days ago), 2024-05-09 07:39:20 -0500 • Engine revision f6344b75dc • Dart version 3.4.0 • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc1) • Android SDK at • Platform android-34, build-tools 34.0.0-rc1 • Java binary at • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160) • All Android licenses accepted.

[✓] Android Studio (version 2023.3) • Android Studio at • Flutter plugin version 79.0.2 • Dart plugin version 222.4582 • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.1) • IntelliJ at • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Network resources • All expected network resources are available.

• No issues found!

Desktop (please complete the following information):

ziperjohn commented 4 months ago

I have the exact same problem after updating flutter to version 3.22.0 on iOS.

AndRud commented 4 months ago

The same problem. Update the library, please.

DavBfr commented 4 months ago

You're using pdf_widget_wrapper 1.0.3 but there is a version 1.0.4 already.

Run flutter pub upgrade

nipun0212 commented 3 months ago

Any workaround?

DavBfr commented 3 months ago

flutter pub upgrade

iampopal commented 2 months ago

I am having the same issue.

iampopal commented 2 months ago

Fixed after running:

flutter pub upgrade