flutter_cache_manager
flutter_cache_manager copied to clipboard
Generic cache manager for flutter
### :sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...) ### :arrow_heading_down: What is the current behavior? ### :new: What is the new behavior (if...
### :sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...) ### :arrow_heading_down: What is the current behavior? ### :new: What is the new behavior (if...
This issue already solved for `flutter_cache_manager` as mentioned here https://github.com/Baseflow/flutter_cache_manager/issues/294, but not on `flutter_cache_manager_firebase`. Do you consider to update it on `flutter_cache_manager_firebase` as well? I got error log below: ```...
## 🐛 Bug Report Scheduled file cleanup on CachedNetworkImage throws `FileSystemException: Cannot delete file`. [Issue](https://github.com/Baseflow/flutter_cached_network_image/issues/335) After research, it turned out that different images are recorded along the same path. This...
untime/dart_vm_initializer.cc(41)] Unhandled Exception: FileSystemException: Exists failed, path = 'C:\Users\xx\AppData\Local\Temp\https://db.xx.cn/uploads/users/avatar/usrZK8kZTzEHC.png' (OS Error: 文件名、目录名或卷标语法不正确。 , errno = 123) #0 _checkForErrorResponse (dart:io/common.dart:55:9) #1 _Directory.exists. (dart:io/directory_impl.dart:84:7) #2 _Directory.create. (dart:io/directory_impl.dart:101:28) #3 ForwardingDirectory.create (package:file/src/forwarding/forwarding_directory.dart:16:12) #4 IOFileSystem.createDirectory...
Bad state: Future already completed 0 _AsyncCompleter.complete (dart:async/future_impl.dart:35:31) #1 _decodeImage. (package:flutter_cache_manager/src/cache_managers/image_cache_manager.dart:161:15) #2 ImageStreamCompleter.setImage (package:flutter/src/painting/image_stream.dart:655:25) #3 MultiFrameImageStreamCompleter._emitFrame (package:flutter/src/painting/image_stream.dart:998:5) #4 MultiFrameImageStreamCompleter._handleAppFrame (package:flutter/src/painting/image_stream.dart:922:7) #5 MultiFrameImageStreamCompleter._handleAppFrame (package:flutter/src/painting/image_stream.dart:915:3) #6 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15) #7 SchedulerBinding.handleBeginFrame. (package:flutter/src/scheduler/binding.dart:1140:11) #8...
## 🐛 Bug Report I use flutter cache manager last version to cache images and videos it works well on android also on ios it cache and shows image files...
I'd like to show the cache size for users, please how can I get the total size of the cache or get the cache path?
## 💬 Questions and Help I tried using ` var file = await DefaultCacheManager().getSingleFile('https:xxx.com/test.pdf') ` but I got a file with a path ` '/cache/libCachedImageData/1f91faa0-a9dd-1df7-98e4-0df546dcdedb.pdf" `
If image (DOES NOT EXIST) AND (maxWidth/maxHeight) ARE set, the stream never closes and there is endless waiting for the image. Especially a problem when trying to get images in...