complete migration of flutter repo to Object.hash* (#99505)
This commit is contained in:
@@ -275,7 +275,7 @@ class BoardPoint {
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => hashValues(q, r);
|
||||
int get hashCode => Object.hash(q, r);
|
||||
|
||||
BoardPoint copyWithColor(Color nextColor) => BoardPoint(q, r, color: nextColor);
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class ComponentDemoTabData {
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => hashValues(tabName, description, documentationUrl);
|
||||
int get hashCode => Object.hash(tabName, description, documentationUrl);
|
||||
}
|
||||
|
||||
class TabbedComponentDemoScaffold extends StatelessWidget {
|
||||
|
||||
@@ -29,7 +29,7 @@ class GalleryDemoCategory {
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => hashValues(name, icon);
|
||||
int get hashCode => Object.hash(name, icon);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
|
||||
@@ -71,7 +71,7 @@ class GalleryOptions {
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => hashValues(
|
||||
int get hashCode => Object.hash(
|
||||
themeMode,
|
||||
textScaleFactor,
|
||||
visualDensity,
|
||||
|
||||
@@ -21,7 +21,7 @@ class GalleryTextScaleValue {
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => hashValues(scale, label);
|
||||
int get hashCode => Object.hash(scale, label);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@@ -55,7 +55,7 @@ class GalleryVisualDensityValue {
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => hashValues(visualDensity, label);
|
||||
int get hashCode => Object.hash(visualDensity, label);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
|
||||
Reference in New Issue
Block a user