File tree 3 files changed +9
-2
lines changed
packages/vector_graphics_compiler
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.1.13
2
+
3
+ * Fixes an issue where empty tag could throw and broke SVG.
4
+
1
5
## 1.1.12
2
6
3
7
* Transfers the package source from https://github.com/dnfield/vector_graphics
Original file line number Diff line number Diff line change @@ -895,7 +895,10 @@ class SvgParser {
895
895
return false ;
896
896
}
897
897
final ParentNode parent = _parentDrawables.last.drawable;
898
- final Path path = pathFunc (this )! ;
898
+ final Path ? path = pathFunc (this );
899
+ if (path == null ) {
900
+ return false ;
901
+ }
899
902
final PathNode drawable = PathNode (path, _currentAttributes);
900
903
checkForIri (drawable);
901
904
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+
5
5
# See https://github.com/flutter/flutter/issues/157626 before publishing a new
6
6
# version.
7
7
publish_to : none
8
- version : 1.1.12
8
+ version : 1.1.13
9
9
10
10
executables :
11
11
vector_graphics_compiler :
You can’t perform that action at this time.
0 commit comments