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)