Add missing trailing commas (#28673)
* add trailing commas on list/map/parameters * add trailing commas on Invocation with nb of arg>1 * add commas for widget containing widgets * add trailing commas if instantiation contains trailing comma * revert bad change
This commit is contained in:
committed by
GitHub
parent
046f960ae2
commit
387f885481
@@ -222,7 +222,7 @@ List<SvgPath> _interpretSvgGroup(List<XmlNode> children, _Transform transform) {
|
||||
|
||||
final _Transform subtreeTransform = _Transform(
|
||||
transformMatrix: transformMatrix,
|
||||
opacity: opacity
|
||||
opacity: opacity,
|
||||
);
|
||||
paths.addAll(_interpretSvgGroup(element.children, subtreeTransform));
|
||||
}
|
||||
@@ -252,7 +252,7 @@ List<Point<double>> parsePoints(String points) {
|
||||
final Match m = _pointMatcher.firstMatch(unParsed);
|
||||
result.add(Point<double>(
|
||||
double.parse(m.group(1)),
|
||||
double.parse(m.group(2))
|
||||
double.parse(m.group(2)),
|
||||
));
|
||||
unParsed = m.group(3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user