Skip to content

Commit a7fc6c6

Browse files
committed
run dart fix --apply
1 parent a0dde10 commit a7fc6c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/diagrams/lib/src/basic_shapes.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ class LineDiagramPainter extends CustomPainter {
167167
..style = PaintingStyle.stroke
168168
..color = _kForegroundColor;
169169

170-
final Offset start = const Offset(2, 4) * _kGridSize;
171-
final Offset end = const Offset(8, 2) * _kGridSize;
170+
const Offset start = Offset(2, 4) * _kGridSize;
171+
const Offset end = Offset(8, 2) * _kGridSize;
172172

173173
canvas.drawLine(
174174
start,
@@ -590,7 +590,7 @@ class CircleDiagramPainter extends CustomPainter {
590590

591591
final Paint paint = Paint();
592592

593-
final Offset center = const Offset(6.5, 4) * _kGridSize;
593+
const Offset center = Offset(6.5, 4) * _kGridSize;
594594
final Rect rect = Rect.fromCircle(
595595
center: center,
596596
radius: 3 * _kGridSize,

0 commit comments

Comments
 (0)