Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 985bee6

Browse files
Fix issues from dart analyzer.
1 parent fec9b64 commit 985bee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web_ui/lib/src/engine/html/shaders/normalized_gradient.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class NormalizedGradient {
3535
stops ??= const <double>[0.0, 1.0];
3636
final int colorCount = colors.length;
3737
int normalizedCount = colorCount;
38-
bool isOpaque = !colors.any((c) => c.alpha < 1.0);
38+
final bool isOpaque = !colors.any((ui.Color c) => c.alpha < 1.0);
3939
final bool addFirst = stops[0] != 0.0;
4040
final bool addLast = stops.last != 1.0;
4141
if (addFirst) {

0 commit comments

Comments
 (0)