Skip to content

Commit 645d252

Browse files
committed
mobile: const Offset in graph painter to satisfy analyzer
1 parent 9c977f6 commit 645d252

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mobile/lib/graph_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class _GraphPainter extends CustomPainter {
161161

162162
// Axes.
163163
canvas.drawLine(
164-
Offset(leftPad, 0), Offset(leftPad, plotH), axis);
164+
const Offset(leftPad, 0), Offset(leftPad, plotH), axis);
165165
canvas.drawLine(
166166
Offset(leftPad, plotH), Offset(size.width, plotH), axis);
167167

0 commit comments

Comments
 (0)