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

Commit f8cb768

Browse files
committed
remove focalRadius de-nulling
1 parent 46cce8a commit f8cb768

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/ui/painting.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3104,7 +3104,6 @@ class Gradient extends Shader {
31043104
assert(tileMode != null), // ignore: unnecessary_null_comparison
31053105
assert(matrix4 == null || _matrix4IsValid(matrix4)),
31063106
super._() {
3107-
focalRadius ??= 0.0; // ignore: dead_null_aware_expression
31083107
_validateColorStops(colors, colorStops);
31093108
final Int32List colorsBuffer = _encodeColorList(colors);
31103109
final Float32List? colorStopsBuffer = colorStops == null ? null : Float32List.fromList(colorStops);

0 commit comments

Comments
 (0)