Error after removing image which result in crash if route with deleted image widget is popped
log.txt
Expected behavior
No errors
Reproduction steps
Delete image widget from list AutomaticAnimatedListView of library great_list_view
Error also can be reproduced with cached_network_image. DioImage implementation is copied from here because it depends on previous major version of dio
Configuration
Version: 1.0.2
flutter doctor -v
• Flutter version 3.7.3 on channel stable at /Users/vovchara/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9944297138 (10 days ago), 2023-02-08 15:46:04 -0800
• Engine revision 248290d6d5
• Dart version 2.19.2
• DevTools version 2.20.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/vovchara/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3)
• 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 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.75.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.58.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.2.1 22D68 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 110.0.5481.100
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
🐛 Bug Report
Error after removing image which result in crash if route with deleted image widget is popped log.txt
Expected behavior
No errors
Reproduction steps
Delete image widget from list
AutomaticAnimatedListView
of library great_list_view Error also can be reproduced withcached_network_image
. DioImage implementation is copied from here because it depends on previous major version of dioConfiguration
Version: 1.0.2
flutter doctor -v
Platform: