How to customize the file name

Open
#440 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
dart, flutter
Domain
mobile-dev

Research direction

Start with the DefaultCacheManager().getSingleFile('https:xxx.com/test.pdf') usage shown in the issue and inspect the cache manager API documentation and entry point for file naming. Done means documenting whether callers can customize the cached file name and, if supported, explaining the relevant option.

Written by the indexing model from the issue text.

Description

💬 Questions and Help

I tried using
var file = await DefaultCacheManager().getSingleFile('https:xxx.com/test.pdf')
but I got a file with a path
'/cache/libCachedImageData/1f91faa0-a9dd-1df7-98e4-0df546dcdedb.pdf"

Dominant language
Dart
Stars
810
Forks
510
Avg merge
2d 2h
Merged PRs (30d)
11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Baseflow/flutter_cache_manager

All issues in Baseflow/flutter_cache_manager

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.