Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export cache_object #371

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

tristan-vrt
Copy link

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Added an export to flutter_cache_manager.dart + fixed git url in pubspec.yaml.

⤵️ What is the current behavior?
The behaviour is the same, except the ability to access cache_object from external code.

💥 Does this PR introduce a breaking change?
No, it doesn't

🐛 The main goal of changes
Exporting cache_object.dart allows for external projects to create a custom implementation of CacheManager and CacheInfoRepository. It is not possible to do this without exporting cache_object.dart. This PR also fixed the git url for the example project.

* Export CacheObject to allow extending CacheInfoRepository
contactjavas added a commit to tentram/flutter_cache_manager that referenced this pull request Sep 18, 2023
…tend-info-repository

# Conflicts:
#	flutter_cache_manager/example/pubspec.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant