-
Notifications
You must be signed in to change notification settings - Fork 43
feat: create StylePhaseAnimator
#620
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
base: main
Are you sure you want to change the base?
Conversation
To view this pull requests documentation preview, visit the following URL: Documentation is deployed and generated using docs.page. |
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.
Pull Request Overview
Adds a new StylePhaseAnimator
widget to orchestrate style transitions through multiple phases and exposes it in the experimental API.
- Introduces
PhaseAnimationData
,PhaseVariant
, and theStylePhaseAnimator
widget with a configurable animation sequence. - Updates the
experimental.dart
barrel file to export the new animator. - Adds logic to cycle through style variants on trigger changes with customizable delays and curves.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
packages/mix/lib/src/experiemental/style_phase_animator.dart | New widget and helpers for phase-based style animations |
packages/mix/lib/experimental.dart | Export the new style phase animator in the experimental API |
Comments suppressed due to low confidence (1)
packages/mix/lib/src/experiemental/style_phase_animator.dart:52
- The constructor doc references a 'child' parameter which no longer exists; it should reference 'builder' instead.
/// The [phases], [animation], [child] and [trigger] parameters must not be null.
5a46f5f
to
8837aef
Compare
354be60
to
7f8ea4e
Compare
Description
Adds a new
StylePhaseAnimator
widget to orchestrate style transitions through multiple phases and exposes it in the experimental API.Example
Changes
PhaseAnimationData
,PhaseVariant
, and theStylePhaseAnimator
widget with a configurable animation sequence.experimental.dart
barrel file to export the new animator.Review Checklist
Additional Information (optional)
Is there any additional context or documentation that might be helpful for reviewers?