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 // GENERAL CONFIGURATION
applyElevationOverlayColor, applyElevationOverlayColor,
cupertinoOverrideTheme, cupertinoOverrideTheme,
hashList(extensions.keys), ...extensions.keys,
hashList(extensions.values), ...extensions.values,
inputDecorationTheme, inputDecorationTheme,
materialTapTargetSize, materialTapTargetSize,
pageTransitionsTheme, pageTransitionsTheme,

View File

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

View File

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