Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Blank Screen (Image.File) #1

Closed
l-k22 opened this issue Nov 5, 2019 · 1 comment
Closed

Blank Screen (Image.File) #1

l-k22 opened this issue Nov 5, 2019 · 1 comment

Comments

@l-k22
Copy link

l-k22 commented Nov 5, 2019

Hi, I tried to open a file that I downloaded, it is 6386px by 5688px png

DiagonalScrollView(
            enableFling: true,
            enableZoom: true,
            maxHeight: _boxSize,
            maxWidth: _boxSize,
            child: Image.file(snapshot.data) ,
            )

I can see the image if I use any other widget such as a SizedBox or Container but when I use the diagonalScrollView I just have a blank screen. There are no errors in the debug console.

flutter doctor -v
[✓] Flutter (Channel dev, v1.10.14, on Mac OS X 10.15 19A602, locale en-GB)
    • Flutter version 1.10.14 at /Users/xxxxxx/Documents/Programming/flutter
    • Framework revision 1946fc4da0 (4 weeks ago), 2019-10-07 15:23:31 -0700
    • Engine revision 1d62160fdb
    • Dart version 2.6.0 (build 2.6.0-dev.1.0 d6c6d12ebf)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/xxxxxx/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

 
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.8.3

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[✓] Connected device (2 available)
    • Nexus 7    • xxxxxxx        • android-arm   • Android 6.0.1 (API 23)
    • ASUS X00TD • xxxxxxx • android-arm64 • Android 9 (API 28)
@l-k22
Copy link
Author

l-k22 commented Nov 5, 2019

After a little digging changing Flutter to the master channel appears to have solved the issue.

@RanfiCD RanfiCD closed this as completed Nov 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants