Flutter SVG is not optimized enough when loading many svg with no possibility to cache image at startup easily.
Describe the solution
Integrate vector_graphic in the generation process alongside flutter_svg and allow to user to configure vector_graphic as we configure flutter_svg currently. And therefore add the generation of the .vec optimized file of the SVG in the process of generation of the differents assets dart file with the supports of VectorGraphic widget instead of SvgPicture.
Additional context
flutter_svg already used vector_graphic under the hood and recommend to use the .vec generated binary file when more optimization is needed. So it'll be cool if this package directly allows it.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Is there an existing issue for this?
Describe the problem
Flutter SVG is not optimized enough when loading many svg with no possibility to cache image at startup easily.
Describe the solution
Integrate vector_graphic in the generation process alongside flutter_svg and allow to user to configure vector_graphic as we configure flutter_svg currently. And therefore add the generation of the
.vec
optimized file of the SVG in the process of generation of the differents assets dart file with the supports of VectorGraphic widget instead of SvgPicture.Additional context
flutter_svg already used vector_graphic under the hood and recommend to use the
.vec
generated binary file when more optimization is needed. So it'll be cool if this package directly allows it.Code of Conduct