Commit afc0550a authored by Hans Muller's avatar Hans Muller Committed by GitHub

Fix circle antialiasing in the animation demo (#5729)

parent f6f37ef2
...@@ -74,6 +74,7 @@ class _PointDemoPainter extends CustomPainter { ...@@ -74,6 +74,7 @@ class _PointDemoPainter extends CustomPainter {
drawPoint(canvas, arc.center, Colors.grey[400]); drawPoint(canvas, arc.center, Colors.grey[400]);
paint paint
..isAntiAlias = false // Work-around for github.com/flutter/flutter/issues/5720
..color = Colors.green[500].withOpacity(0.25) ..color = Colors.green[500].withOpacity(0.25)
..strokeWidth = 4.0 ..strokeWidth = 4.0
..style = PaintingStyle.stroke; ..style = PaintingStyle.stroke;
......
...@@ -41,8 +41,8 @@ typedef double SnapOffsetCallback(double scrollOffset, Size containerSize); ...@@ -41,8 +41,8 @@ typedef double SnapOffsetCallback(double scrollOffset, Size containerSize);
/// A base class for scrollable widgets. /// A base class for scrollable widgets.
/// ///
/// Commonly used subclasses include [ScrollableList], [ScrollableGrid], and /// Commonly used classes that are based on Scrollable include [ScrollableList],
/// [ScrollableViewport]. /// [ScrollableGrid], and [ScrollableViewport].
/// ///
/// Widgets that subclass [Scrollable] typically use state objects that subclass /// Widgets that subclass [Scrollable] typically use state objects that subclass
/// [ScrollableState]. /// [ScrollableState].
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment