diff --git a/lib/src/blurhash_image.dart b/lib/src/blurhash_image.dart index 81a862b..df2e570 100644 --- a/lib/src/blurhash_image.dart +++ b/lib/src/blurhash_image.dart @@ -52,10 +52,13 @@ class BlurHashImage extends ImageProvider { ? false : other is BlurHashImage && other.blurHash == blurHash && + other.decodingWidth == decodingWidth && + other.decodingHeight == decodingHeight && other.scale == scale; @override - int get hashCode => Object.hash(blurHash.hashCode, scale); + int get hashCode => + Object.hash(blurHash.hashCode, decodingWidth, decodingHeight, scale); @override String toString() => '$runtimeType($blurHash, scale: $scale)';