flutter_svg
flutter_svg copied to clipboard
After version 1.0.0 colorBlendMode: BlendMode.luminosity does not grey out svgs
I haven't changed my code just upgraded the package and previously my colored svg was rendering as grey and now it renders with full color. Is there another way to accomplish single color effect? Thanks
SvgPicture.asset(
"assets/svg/cart.svg",
colorBlendMode: BlendMode.luminosity,
fit: BoxFit.scaleDown,
),
Can you share a complete reproduction?
The implementation around color filtering changed for sure. I would not expect it to have broken this way though.