Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not run project with printing 5.13.0 #1690

Open
1 of 5 tasks
datpt11 opened this issue Jun 26, 2024 · 6 comments
Open
1 of 5 tasks

Can not run project with printing 5.13.0 #1690

datpt11 opened this issue Jun 26, 2024 · 6 comments
Labels
bug Something isn't working needs triage

Comments

@datpt11
Copy link

datpt11 commented Jun 26, 2024

Describe the bug

../../.pub-cache/hosted/pub.dev/printing-5.13.0/lib/src/preview/page.dart:88:24: Error: The getter 'WidgetState' isn't defined for the class 'PdfPreviewPage'.
can not run project
To Reproduce
Code snippet to reproduce the behavior:

// your code

Expected behavior

Screenshots

Flutter Doctor

Flutter (Channel stable, 3.19.6, on macOS 14.3 23D56 darwin-arm64, locale en-US)
    • Flutter version 3.19.6 on channel stable at /Users/xxx/workspace/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (2 months ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/xxx/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/xxx/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.90.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (5 available)
    • DinoP (mobile)     • 00008110-001A492836EB801E                • ios            • iOS 17.5.1 21F90
    • iPhone (mobile)    • 1240a15de43a71032b3bbbd6da96172886f2bdfa • ios            • iOS 12.5.7 16H81
    • iPhone 13 (mobile) • FB24DBF4-A79F-43E9-8643-4054E6CDFA73     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
    • macOS (desktop)    • macos                                    • darwin-arm64   • macOS 14.3 23D56 darwin-arm64
    • Chrome (web)       • chrome                                   • web-javascript • Google Chrome 126.0.6478.116

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

Desktop (please complete the following information):

  • iOS
  • Android
  • Browser
  • Windows
  • Linux

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

@datpt11 datpt11 added bug Something isn't working needs triage labels Jun 26, 2024
@DavBfr
Copy link
Owner

DavBfr commented Jun 26, 2024

your flutter doctor please

@datpt11
Copy link
Author

datpt11 commented Jun 26, 2024

oh sorry i updated

@DavBfr
Copy link
Owner

DavBfr commented Jun 26, 2024

Looks like it works only on Flutter 3.22

@BrunoVieiraL
Copy link

Looks like it works only on Flutter 3.22

No, in flutter 3.19 as well. I have the same problem here

@DavBfr
Copy link
Owner

DavBfr commented Jun 28, 2024

@BrunoVieiraL What problem?

@DavBfr
Copy link
Owner

DavBfr commented Jun 28, 2024

I removed version 5.13.0 and published 5.13.1 with Flutter 3.22.0 as minimal requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

3 participants