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

Commit 591bf9f

Browse files
authored
[web] Remove some unused functions (#44505)
1 parent 25fb06e commit 591bf9f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/web_ui/lib/painting.dart

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,6 @@
55
// For documentation see https://github.com/flutter/engine/blob/main/lib/ui/painting.dart
66
part of ui;
77

8-
// ignore: unused_element, Used in Shader assert.
9-
bool _offsetIsValid(Offset offset) {
10-
assert(!offset.dx.isNaN && !offset.dy.isNaN, 'Offset argument contained a NaN value.');
11-
return true;
12-
}
13-
14-
// ignore: unused_element, Used in Shader assert.
15-
bool _matrix4IsValid(Float32List matrix4) {
16-
assert(matrix4.length == 16, 'Matrix4 must have 16 entries.');
17-
return true;
18-
}
19-
208
void _validateColorStops(List<Color> colors, List<double>? colorStops) {
219
if (colorStops == null) {
2210
if (colors.length != 2) {

0 commit comments

Comments
 (0)