screenshot icon indicating copy to clipboard operation
screenshot copied to clipboard

No MediaQuery widget ancestor found.

Open Raj-impetrosys opened this issue 9 months ago • 2 comments

Screenshot 2024-04-30 at 6 46 42 PM

unable to use context when calling screenshotController.captureFromWidget(QRWidget()); PFA screenshot for you reference

Flutter doctor

[✓] Flutter (Channel stable, 3.19.5, on macOS 14.4.1 23E224 darwin-arm64, locale en-IN) • Flutter version 3.19.5 on channel stable at /Users/rajkumar/Desktop/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 300451adae (5 weeks ago), 2024-03-27 21:54:07 -0500 • Engine revision e76c956498 • Dart version 3.3.3 • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/rajkumar/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • 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.0.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15A507 • 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.88.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.86.0

[✓] Connected device (3 available) • iPhone 15 Pro (mobile) • 46EF9A8A-775F-46DA-B030-5C43DCACD090 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.4.1 23E224 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.92

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

• No issues found!

Raj-impetrosys avatar Apr 30 '24 13:04 Raj-impetrosys