By default, Flutter does not support SVG. Therefore, if you want to use SVG, you need to add a package. The most popular package is flutter_svg. However, it can be burdensome to add package dependencies just to use one or two SVGs.
In such cases, you can use FlutterShapeMaker, a site that allows you to easily draw SVGs using Flutter's CustomPaint. The usage is very simple. First, go to https://fluttershapemaker.com/, then click on "Get Code" in the middle and it will automatically convert into CustomPaint.
FlutterShapeMaker is a useful tool for easily integrating SVG into your Flutter application. If adding package dependencies for one or two SVGs feels burdensome, try using FlutterShapeMaker.
0 개의 댓글:
Post a Comment