feat: Add HueEffect and HueDecorator#3852
Conversation
…orrectly handle prefixes and different asset types. [flame-engine#3844]
Prepared all packages to be released to pub.dev Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
spydon
left a comment
There was a problem hiding this comment.
Docs and examples are missing, other than that it looks good!
|
This should be a general comment on decorators in the docs, if it's not already in there. |
ec21f96 to
1a1bbe5
Compare
- Fix description string indentation (remove leading spaces) - Fix codeLink path in decorators.dart - Remove unused Decorator.update() method - Restore Decorator.apply dartdoc formatting - Move performance note from Decorator base to HueDecorator - Extract hueMatrix to top-level hueRotationMatrix() function - Update has_paint _updateColorFilter to also apply to paintLayers - Fix trailing whitespace in docs - Fix 2*tau to 2*pi in color_effects.md - Fix HueToEffect _angle initializer to use 0.0 - Add HueToEffect tests - Inline _buildItem and center ember in decorator example
Description
This PR adds a new
HueEffect
to the Flame effects library. This effect allows animating the hue shift of a component's paint over time.
Checklist
docsand added dartdoc comments with///.examplesordocs.Breaking Change?
Related Issues