Przeglądaj źródła

Update deprecating hash method in raw_image_provider.dart (#2690)

Anthony Taormina 9 miesięcy temu
rodzic
commit
96d72165f1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      spine-flutter/lib/raw_image_provider.dart

+ 1 - 1
spine-flutter/lib/raw_image_provider.dart

@@ -94,7 +94,7 @@ class _RawImageKey {
 
 
   @override
   @override
   int get hashCode {
   int get hashCode {
-    return hashValues(w, h, format, dataHash.hashCode);
+    return Object.hash(w, h, format, dataHash.hashCode);
   }
   }
 }
 }