@@ -927,7 +927,7 @@ class FontFeature {
927927 }
928928
929929 @override
930- int get hashCode => hashValues (feature, value);
930+ int get hashCode => Object . hash (feature, value);
931931
932932 @override
933933 String toString () => "FontFeature('$feature ', $value )" ;
@@ -988,7 +988,7 @@ class FontVariation {
988988 }
989989
990990 @override
991- int get hashCode => hashValues (axis, value);
991+ int get hashCode => Object . hash (axis, value);
992992
993993 @override
994994 String toString () => "FontVariation('$axis ', $value )" ;
@@ -1236,7 +1236,7 @@ class TextHeightBehavior {
12361236
12371237 @override
12381238 int get hashCode {
1239- return hashValues (
1239+ return Object . hash (
12401240 applyHeightToFirstAscent,
12411241 applyHeightToLastDescent,
12421242 leadingDistribution.index,
@@ -1540,7 +1540,23 @@ class TextStyle {
15401540 }
15411541
15421542 @override
1543- int get hashCode => hashValues (hashList (_encoded), _leadingDistribution, _fontFamily, _fontFamilyFallback, _fontSize, _letterSpacing, _wordSpacing, _height, _locale, _background, _foreground, hashList (_shadows), _decorationThickness, hashList (_fontFeatures), hashList (_fontVariations));
1543+ int get hashCode => Object .hash (
1544+ Object .hashAll (_encoded),
1545+ _leadingDistribution,
1546+ _fontFamily,
1547+ _fontFamilyFallback,
1548+ _fontSize,
1549+ _letterSpacing,
1550+ _wordSpacing,
1551+ _height,
1552+ _locale,
1553+ _background,
1554+ _foreground,
1555+ _shadows == null ? null : Object .hashAll (_shadows! ),
1556+ _decorationThickness,
1557+ _fontFeatures == null ? null : Object .hashAll (_fontFeatures! ),
1558+ _fontVariations == null ? null : Object .hashAll (_fontVariations! ),
1559+ );
15441560
15451561 @override
15461562 String toString () {
@@ -1785,7 +1801,7 @@ class ParagraphStyle {
17851801 }
17861802
17871803 @override
1788- int get hashCode => hashValues ( hashList (_encoded), _fontFamily, _fontSize, _height, _ellipsis, _locale, _leadingDistribution);
1804+ int get hashCode => Object . hash ( Object . hashAll (_encoded), _fontFamily, _fontSize, _height, _ellipsis, _locale, _leadingDistribution);
17891805
17901806 @override
17911807 String toString () {
@@ -1979,7 +1995,7 @@ class StrutStyle {
19791995 }
19801996
19811997 @override
1982- int get hashCode => hashValues ( hashList (_encoded.buffer.asInt8List ()), _fontFamily, _leadingDistribution);
1998+ int get hashCode => Object . hash ( Object . hashAll (_encoded.buffer.asInt8List ()), _fontFamily, _leadingDistribution);
19831999
19842000}
19852001
@@ -2145,7 +2161,7 @@ class TextBox {
21452161 }
21462162
21472163 @override
2148- int get hashCode => hashValues (left, top, right, bottom, direction);
2164+ int get hashCode => Object . hash (left, top, right, bottom, direction);
21492165
21502166 @override
21512167 String toString () => 'TextBox.fromLTRBD(${left .toStringAsFixed (1 )}, ${top .toStringAsFixed (1 )}, ${right .toStringAsFixed (1 )}, ${bottom .toStringAsFixed (1 )}, $direction )' ;
@@ -2252,7 +2268,7 @@ class TextPosition {
22522268 }
22532269
22542270 @override
2255- int get hashCode => hashValues (offset, affinity);
2271+ int get hashCode => Object . hash (offset, affinity);
22562272
22572273 @override
22582274 String toString () {
@@ -2336,7 +2352,7 @@ class TextRange {
23362352 }
23372353
23382354 @override
2339- int get hashCode => hashValues (
2355+ int get hashCode => Object . hash (
23402356 start.hashCode,
23412357 end.hashCode,
23422358 );
@@ -2619,7 +2635,7 @@ class LineMetrics {
26192635 }
26202636
26212637 @override
2622- int get hashCode => hashValues (hardBreak, ascent, descent, unscaledAscent, height, width, left, baseline, lineNumber);
2638+ int get hashCode => Object . hash (hardBreak, ascent, descent, unscaledAscent, height, width, left, baseline, lineNumber);
26232639
26242640 @override
26252641 String toString () {
0 commit comments