You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -204,7 +204,9 @@ flutter:
204
204
- assets/images/
205
205
- assets/images/chip3/chip.jpg
206
206
- assets/images/chip4/chip.jpg
207
-
- assets/images/icons/paint.svg
207
+
- path: assets/images/icons/paint.svg
208
+
transformers:
209
+
- package: vector_graphics_compiler
208
210
- assets/images/icons/dart@test.svg
209
211
- assets/json/fruits.json
210
212
- assets/flare/Penguin.flr
@@ -380,7 +382,7 @@ flutter_gen:
380
382
image: false
381
383
```
382
384
383
-
If you are using SVG images with [flutter_svg](https://pub.dev/packages/flutter_svg) you can use the integration feature.
385
+
If you are using SVG images with [flutter_svg](https://pub.dev/packages/flutter_svg) you can use the integration feature. This feature also supports using `vector_graphics_compiler` transformer and the produced code will use the `BytesAssetLoader` for such transformed assets.
0 commit comments