svg-to-flutter-path-converter
svg-to-flutter-path-converter copied to clipboard
Convert your SVG file directly to Flutter paths and prevent all the messing with bezier curves.
Hi When i run the following command `svg-to-flutter convert Downloads/ic_mail.svg -o path.dart` i get this error ```js /Users/user1/svg-to-flutter-path-converter/src/convert.js:252 let pathData = getPathData(shapes, width, height); ^ ReferenceError: width is not defined...
Excellent tool, thanks. This PR allows the decimal places option to be configurable via the `--decimals` or `-d` flag. Maintains the default of 2 if not specified.