Ver Fonte

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

Anthony Taormina há 9 meses atrás
pai
commit
96d72165f1
1 ficheiros alterados com 1 adições e 1 exclusões
  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
   int get hashCode {
-    return hashValues(w, h, format, dataHash.hashCode);
+    return Object.hash(w, h, format, dataHash.hashCode);
   }
 }