Hi all.
I want use properties centerSlice for image svg .
Can you add properties centerSlice to flutter_svg ? or any similar properties use in flutter_svg . Can u help me @dnfield ?
This is definitely doable, although I doubt I'll be able to get to it anytime soon. I'm also not clear on whether it's really worth the complexity it entails. For raster images, it helps save on disk space (you can have a small square image that scales to any size without extra disk space). With SVG, it doesn't really save you on size so much, and it should be trivial to just scale the SVG itself (if you're scaling in both dimensions), or to just construct the right SVG for what you want with minimal extra disk space.
Hi @dnfield
thank your reply .
I understand but current SVG image it scale follow image SVG . I want similar property like centerSlice . Do you support me?
Most helpful comment
This is definitely doable, although I doubt I'll be able to get to it anytime soon. I'm also not clear on whether it's really worth the complexity it entails. For raster images, it helps save on disk space (you can have a small square image that scales to any size without extra disk space). With SVG, it doesn't really save you on size so much, and it should be trivial to just scale the SVG itself (if you're scaling in both dimensions), or to just construct the right SVG for what you want with minimal extra disk space.