Remove remaining uses of hashValues in the framework (#105046)
This commit is contained in:
parent
588f1c93e5
commit
116d6579c7
@ -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,
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user