From 442faad02c5013ddc2b09c39b8c179de59f70825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=A3=8E=E6=8D=B7=E7=89=B9=E7=83=88?= <1981462002@qq.com> Date: Thu, 29 Oct 2020 16:19:42 +0800 Subject: [PATCH] Update painting.dart --- lib/ui/painting.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/painting.dart b/lib/ui/painting.dart index a3d7309a88733..d33db09ce6145 100644 --- a/lib/ui/painting.dart +++ b/lib/ui/painting.dart @@ -4405,7 +4405,7 @@ class Canvas extends NativeFieldWrapperClass2 { /// Rect.fromLTWH(sprite.index * 10.0, 0.0, 10.0, 10.0), /// ], [ /// for (Sprite sprite in allSprites) - /// Color.white.withAlpha(sprite.alpha), + /// Colors.white.withAlpha(sprite.alpha), /// ], BlendMode.srcIn, null, paint); /// } ///