Fix circle antialiasing in the animation demo (#5729)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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].
|
||||
|
||||
Reference in New Issue
Block a user