From fe85f946db0447936975337415130dfefebd02d3 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: Fri, 30 Oct 2020 06:28:02 +0800 Subject: [PATCH] Update painting.dart (#22195) --- 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 7032653ab..0ad46a775 100644 --- a/lib/ui/painting.dart +++ b/lib/ui/painting.dart @@ -4414,7 +4414,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); /// } /// -- GitLab