Fix circle antialiasing in the animation demo (#5729)

This commit is contained in:
Hans Muller
2016-09-02 16:13:09 -07:00
committed by GitHub
parent f6f37ef260
commit afc0550a67
2 changed files with 3 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ class _PointDemoPainter extends CustomPainter {
drawPoint(canvas, arc.center, Colors.grey[400]);
paint
..isAntiAlias = false // Work-around for github.com/flutter/flutter/issues/5720
..color = Colors.green[500].withOpacity(0.25)
..strokeWidth = 4.0
..style = PaintingStyle.stroke;