flutter_cached_network_image
flutter_cached_network_image copied to clipboard
Export FileSystem to allow testing of the CacheManager
🏗 Enhancement Proposal
Our project extends CacheManager which allows for a Config object to be passed in. We are unable to test it because we can not mock FileSystem as it's not an export to the package. If this was exported then a mocked FileSystem could be passed in.
Pitch
Export the FileSystem abstraction to allow tests to happen at the cache manager level. Right now, it is not available to external packages.
Platforms affected (mark all that apply)
- [x] :iphone: iOS
- [x] :robot: Android