Remove remaining uses of hashValues in the framework (#105046)

This commit is contained in:
Jason Simmons 2022-05-31 15:48:14 -07:00 committed by GitHub
parent 588f1c93e5
commit 116d6579c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -2148,8 +2148,8 @@ class ThemeData with Diagnosticable {
// GENERAL CONFIGURATION
applyElevationOverlayColor,
cupertinoOverrideTheme,
hashList(extensions.keys),
hashList(extensions.values),
...extensions.keys,
...extensions.values,
inputDecorationTheme,
materialTapTargetSize,
pageTransitionsTheme,

View File

@ -43,8 +43,8 @@ export 'dart:ui' show
VertexMode,
// TODO(werainkhatri): remove these after their deprecation period in engine
// https://github.com/flutter/flutter/pull/99505
hashValues,
hashList;
hashValues, // ignore: deprecated_member_use
hashList; // ignore: deprecated_member_use
export 'package:flutter/foundation.dart' show VoidCallback;

View File

@ -523,7 +523,7 @@ class SelectionGeometry {
@override
int get hashCode {
return hashValues(
return Object.hash(
startSelectionPoint,
endSelectionPoint,
status,
@ -574,7 +574,7 @@ class SelectionPoint {
@override
int get hashCode {
return hashValues(
return Object.hash(
localPosition,
lineHeight,
handleType,