-
-
Notifications
You must be signed in to change notification settings - Fork 934
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: Expose paint from svgComponent to set opacity and have opacity effects #2092
Conversation
I think a better idea would be to make SvgComponent use |
ok i will add it with HasPaint |
exposed paint With |
Co-authored-by: Lukas Klingsbo <[email protected]>
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.
Since SvgComponent
now has a paint, we can get rid of _paint
from Svg
Co-authored-by: DevKage <[email protected]>
This reverts commit 5be444d.
Co-authored-by: Lukas Klingsbo <[email protected]>
Co-authored-by: Lukas Klingsbo <[email protected]>
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.
took default value of paint from here
Description
currently you can't set opacity on svgComponent as its paint is private.
exposed paint from svgComponent Using HasPaint Mixin to so can get paint and set opacity and have opacity effects
usage
Checklist
fix:
,feat:
,docs:
etc).docs
and added dartdoc comments with///
.examples
ordocs
.Breaking Change?
Related Issues
closes #2091 set opacity on SvgComponent