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;

View File

@@ -41,8 +41,8 @@ typedef double SnapOffsetCallback(double scrollOffset, Size containerSize);
/// A base class for scrollable widgets.
///
/// Commonly used subclasses include [ScrollableList], [ScrollableGrid], and
/// [ScrollableViewport].
/// Commonly used classes that are based on Scrollable include [ScrollableList],
/// [ScrollableGrid], and [ScrollableViewport].
///
/// Widgets that subclass [Scrollable] typically use state objects that subclass
/// [ScrollableState].