diff --git a/lib/src/painter.dart b/lib/src/painter.dart index 64dfa85..676b4a9 100644 --- a/lib/src/painter.dart +++ b/lib/src/painter.dart @@ -33,7 +33,7 @@ class CircularChartPainter extends CustomPainter { bool shouldRepaint(CircularChartPainter old) => false; } -const double _kRadiansPerDegree = Math.PI / 180; +const double _kRadiansPerDegree = Math.pi / 180; void _paintChart(Canvas canvas, Size size, CircularChart chart) { final Paint segmentPaint = new Paint()