We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded8ec9 commit b4d1072Copy full SHA for b4d1072
example/translate.dart
@@ -22,7 +22,15 @@ class TrackPainter extends CustomPainter {
22
23
@override
24
void paint(Canvas canvas, Size size) {
25
- canvas.drawPoints(PointMode.polygon, points.toList(), painter);
+ /// canvas.drawPoints crashes on the release version of Flutter Web.
26
+ /// Windows and Android are no problem.
27
+ /// debug version is no problem.
28
+
29
+ // canvas.drawPoints(PointMode.polygon,points.toList(), painter);
30
31
+ for (final element in points) {
32
+ canvas.drawCircle(element, 1 / window.devicePixelRatio, painter);
33
+ }
34
}
35
36
0 commit comments