Use Svg In Flutter. Alternatively your editor might support flutter pub get. This however can be achieved in the following two ways.
You can create a folder and. Step 2import the flutter svg package in your app. Now put all the SVG files in a folder.
SvgPictureassetassetsflutter_logosvg Add SVG in the form of a String by providing the width and height.
But there are some workaround for that. First of all add the flutter_svg plugin in subspecyaml as dependancy. Check the docs for your editor to learn more. However Id recommend not using an SVG.