We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba4c60 commit d9748ecCopy full SHA for d9748ec
βlib/src/painter/tools.dart
@@ -87,7 +87,7 @@ void drawBlob(Canvas canvas, Path path, BlobStyles? styles) {
87
88
Shadow shadow = Shadow(
89
blurRadius: 50,
90
- color: styles?.color.withOpacity(0.9) ?? paint.color.withOpacity(0.9));
+ color: styles?.color?.withOpacity(0.9) ?? paint.color.withOpacity(0.9));
91
canvas.drawPath(path, shadow.toPaint());
92
//canvas.drawShadow(path, Colors.red.withOpacity(0.8), 10, true);
93
canvas.drawPath(path, paint);
0 commit comments