-
Notifications
You must be signed in to change notification settings - Fork 38
Description
When I nest the Gridview with ExpantionTitle and use this plugin to cache network images in the item body, (default off) when Expantion is opened/closed quickly, it will fail to dispose. I hope there is a way to stop the download. thanks!~
Error: This widget has been unmounted, so the State no longer has a context (and should be considered defunct).
Consider canceling any active work during "dispose" or using the "mounted" getter to determine if the State is still active.
../dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 288:49 throw
../packages/flutter/src/widgets/framework.dart 951:9
../packages/flutter/src/widgets/framework.dart 956:14 get context
../packages/fast_cached_network_image/src/fast_cached_image.dart 315:34
../packages/dio/src/adapters/browser_adapter.dart 133:18
../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 367:37 _checkAndCall
../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 372:39 dcall
../dart-sdk/lib/html/dart2js/html_dart2js.dart 37236:58
Error: This widget has been unmounted, so the State no longer has a context (and should be considered defunct).