-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[vector_graphics] Allow transition between placeholder and loaded image to have an animation #8195
base: main
Are you sure you want to change the base?
[vector_graphics] Allow transition between placeholder and loaded image to have an animation #8195
Conversation
@stuartmorgan Can you review this? |
@jonahwilliams Are these package's PRs being included in engine PR triage? |
They were not |
@@ -61,6 +61,7 @@ VectorGraphic createCompatVectorGraphic({ | |||
String? semanticsLabel, | |||
bool excludeFromSemantics = false, | |||
Clip clipBehavior = Clip.hardEdge, | |||
Duration transitionDuration = const Duration(milliseconds: 500), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't just allow the transition, it forces it on for all apps. should this be opt in if a transition duration is specififed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed default duration
Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. You must list at least one issue.
Issue #158857
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].CHANGELOG.md
to add a description of the change, [following repository CHANGELOG style], or this PR is [exempt from CHANGELOG changes].///
).If you need help, consider asking for advice on the #hackers-new channel on [Discord].