flutter_cache_manager
flutter_cache_manager copied to clipboard
Generic cache manager for flutter
I am developing an application like netflix and youtube where users can download the videos in app.I want to use the flutter cache manager.Please can someone guide me on how...
```dart export 'src/storage/file_system/file_system.dart'; export 'src/storage/file_system/file_system_io.dart'; export 'src/storage/file_system/file_system_web.dart'; ``` The IOFileSystem can't import for below code. ``` CacheManager( Config( key, stalePeriod: const Duration(days: 7), maxNrOfCacheObjects: 20, repo: JsonCacheInfoRepository(databaseName: key), fileSystem: IOFileSystem(key),...
Remove unnecessary method createFile Add Test to check if return null if file is not cached Move const values to the setup
## 💬 Questions and Help For questions or help we recommend checking: If I am starting a downloading progress by await DefaultCacheManager().downloadFile(url);, and if I use "await DefaultCacheManager().downloadFile(url);" again, how...
## 🐛 Bug Report App throws exception `FileSystemException: Cannot delete file` ### Expected behavior Should not delete file when it doesn't exist ### Reproduction steps Bug found in: https://github.com/Baseflow/flutter_cached_network_image/issues/335#issuecomment-629190486 ###...
## 💬 Questions and Help If I am starting downloading a very big file, and the disk space is not enough for the file, what will happen? For questions or...
## 🐛 Bug Report ``` FileSystemException: Cannot delete file, path = '/var/mobile/Containers/Data/Application/A293AAB5-BBED-44AD-8745-4473AEEE9FAD/Library/Caches/***AppCache/2144cf90-f178-11ec-a12a-35675c75ae1e.file' (OS Error: No such file or directory, errno = 2) _File._delete. (dart:io/file_impl.dart:283) _rootRunUnary (dart:async/zone.dart:1434) ForwardingFileSystemEntity.delete (package:file/src/forwarding/forwarding_file_system_entity.dart:66) CacheStore._removeCachedFile (package:flutter_cache_manager/src/cache_store.dart:190)...
## 💬 Questions and Help I need to test imageBuilder, I have this code, but I can't. ```dart testWidgets('Cached networked image builder', (tester) async { final widget = CachedNetworkImage( cacheManager:...
## 🐛 Bug Report stacktrace like this: ``` FileSystemException: FileSystemException: Cannot delete file, path = 'E:\娱乐\TapBooster\cache\temp\libCachedImageData\e2ac1550-dc22-11ec-a02b-eb8d38960b87.jpg' (OS Error: 另一个程序正在使用此文件,进程无法访问。 , errno = 32) File "file_impl.dart", line 283, in _File._delete. File...