File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
flutter_cache_manager_firebase Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,16 @@ A Firebase implementation for [flutter_cache_manager](https://pub.dev/packages/f
6
6
7
7
This library contains FirebaseCacheManager and FirebaseHttpFileService.
8
8
9
- You can easily fetch a file stored on Firebase with
9
+ You can easily fetch a file stored on Firebase with
10
10
``` dart
11
11
var file = await FirebaseCacheManager().getSingleFile(url);
12
12
```
13
13
14
- You could also write your own CacheManager which uses the FirebaseHttpFileService.
14
+ You could also write your own CacheManager which uses the FirebaseHttpFileService.
15
+
16
+ ### Custom Firebase storage bucket
17
+
18
+ You can use a custom bucket by passing ` bucket ` parameter. For example:
19
+ ``` dart
20
+ FirebaseCacheManager(bucket: "my-bucket");
21
+ ```
You can’t perform that action at this time.
0 commit comments