Baseflow / Baseflow/flutter_cache_manager
How to customize the file name
Ouverte
- Langage dominant
- Dart
- Étoiles
- 809
- Forks
- 510
- Merge moyen
- 6 min
- PR mergées (30 j)
- 1
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"
`
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart, flutter
- Domaine
- mobile-dev
- Type d'issue
- Documentation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100