dnfield / flutter_svg

SVG parsing, rendering, and widget library for Flutter
MIT License
1.64k stars 449 forks source link

performance question #1046

Closed DukePeoPlus closed 3 months ago

DukePeoPlus commented 3 months ago

I am rendering SVGs using the .vec extension. There are about 30 SVGs that appear with animations, and the rendering causes noticeable lag. Are there any ways to improve the performance?

Thank you for hard work

SvgPicture(
  width: svgSize,
  height: svgSize,
  vec.AssetBytesLoader(asset),
)