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
@@ -24,7 +24,7 @@ void beginFrame(Duration timeStamp) {
|
||||
canvas.scale(devicePixelRatio, devicePixelRatio);
|
||||
canvas.drawParagraph(paragraph, ui.Offset(
|
||||
(logicalSize.width - paragraph.maxIntrinsicWidth) / 2.0,
|
||||
(logicalSize.height - paragraph.height) / 2.0
|
||||
(logicalSize.height - paragraph.height) / 2.0,
|
||||
));
|
||||
final ui.Picture picture = recorder.endRecording();
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ ui.Picture paint(ui.Rect paintBounds) {
|
||||
canvas.drawCircle(
|
||||
size.center(ui.Offset.zero),
|
||||
size.shortestSide * 0.45,
|
||||
ui.Paint()..color = color
|
||||
ui.Paint()..color = color,
|
||||
);
|
||||
|
||||
// When we're done issuing painting commands, we end the recording an receive
|
||||
|
||||
Reference in New Issue
Block a user