diff --git a/lib/src/firebase_image.dart b/lib/src/firebase_image.dart index 2b1813a..5be82db 100644 --- a/lib/src/firebase_image.dart +++ b/lib/src/firebase_image.dart @@ -105,7 +105,7 @@ class FirebaseImage extends ImageProvider { } Future _fetchImageCodec() async { - return await PaintingBinding.instance! + return await PaintingBinding.instance .instantiateImageCodec(await _fetchImage()); }