flutter_svg icon indicating copy to clipboard operation
flutter_svg copied to clipboard

InkSCape MeshGradient implementation Request

Open taerilan opened this issue 4 years ago • 1 comments

Hello there, I would like to make request for implementation of InkScape meshGradient in your package,

I believe this would be beneficial for your whole project as InkScape meshGradient gives SVG images depth, 3d illusion that brings whole SVG image to life in 3d like way.

Ive included in code below simple SVG code with meshGradient so you can check it out, couldn't upload SVG image directly, Ive also uploaded PNG image of a piano key created in InkScape with meshGradient, so you could see how it looks like.

Thought that issue with meshGradient in your package is similar to linearGradient issue, though after managing to solve linearGradient issue (when saving InkScape project as Optimized SVG, it works in your package as charm), meshGradient was still not working. In your package I've found references for linearGradient and radialGradient, though not meshGradient, so it seems meshGradient is not implemented at all?

Hope you will consider adding it, as it would add quality and aesthetic beauty to my and other peoples projects.

Thank

bku bkd bku

image/svg+xml

taerilan avatar Jan 18 '21 11:01 taerilan

This would require getting Flutter to support mesh gradients upstream. I think that's probably doable.

On the web it's a bit trickier.

dnfield avatar Feb 25 '21 18:02 dnfield