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

feat: Optional key for Images.load #1624

Merged
merged 3 commits into from
May 14, 2022
Merged

feat: Optional key for Images.load #1624

merged 3 commits into from
May 14, 2022

Conversation

spydon
Copy link
Member

@spydon spydon commented May 14, 2022

Description

Adds an optional argument to Images.load that lets you specify the key that the Image will have in the cache.
Also adds Images.contains to check whether a key exists in the cache.

Checklist

  • The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
  • I have read the Contributor Guide and followed the process outlined for submitting PRs.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples.

Breaking Change

  • No, this is not a breaking change.

Related Issues

@spydon spydon merged commit 067c34b into main May 14, 2022
@spydon spydon deleted the spydon.key-for-images.load branch May 14, 2022 11:22
st-pasha pushed a commit to st-pasha/flame that referenced this pull request May 16, 2022
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.

2 participants