diff --git a/CHANGELOG.md b/CHANGELOG.md index 17ce165..2118a93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## [1.2.3](https://github.com/folksable/blurhash_ffi/tree/61c0256724b9fd637691b24a8ca8dfda5f54e779) +## [1.2.3](https://github.com/folksable/blurhash_ffi/tree/3fafbaaca9898db37d25d4cb8f5b613f7716c2e8) * Fix changelog order ## [1.2.2](https://github.com/folksable/blurhash_ffi/tree/709e0c6ed1f6e9e96000adb2dae643e400fe76d4) diff --git a/lib/uiImage.dart b/lib/uiImage.dart index 2f5a207..1944d97 100644 --- a/lib/uiImage.dart +++ b/lib/uiImage.dart @@ -24,9 +24,9 @@ class UiImage extends ImageProvider { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { if (other.runtimeType != runtimeType) return false; - final UiImage typedOther = (other as UiImage); + final UiImage typedOther = other; return image == typedOther.image && scale == typedOther.scale; } diff --git a/pubspec.yaml b/pubspec.yaml index 7605eba..71dee93 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: blurhash_ffi description: >- A compact, fast and easy to use blurry image placeholder generator for Flutter using native ffi bindings. -version: 1.2.2 +version: 1.2.3 repository: https://github.com/folksable/blurhash_ffi issue_tracker: https://github.com/folksable/blurhash_ffi/issues funding: