Baseflow / Baseflow/flutter_cache_manager

[Feature request] override extension file

Open
#430 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

I need to enforce a specific extension to the cached file whatever the MIME type of the file is.

It would be nice to have an option for that, for example:

`var file = await DefaultCacheManager().getSingleFile(url, {extension: 'my'});`

The end result with be a path with `file:///somewhere/in/the/phone/myfile.my`.

Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.