flutter_cache_manager_firebase 2.1.1 flutter_cache_manager_firebase: ^2.1.1 copied to clipboard
CacheManager implementation for firebase_storage. Uses the gs:// as key and translates to https://
flutter_cache_manager_firebase #
A Firebase implementation for flutter_cache_manager
Getting Started #
This library contains FirebaseCacheManager and FirebaseHttpFileService.
You can easily fetch a file stored on Firebase with
var file = await FirebaseCacheManager().getSingleFile(url);
You could also write your own CacheManager which uses the FirebaseHttpFileService.
Custom Firebase storage bucket #
You can use a custom bucket by passing bucket
parameter. For example:
FirebaseCacheManager(bucket: "my-bucket");