You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing some tests with previous version: 1.1.6 , it seems that the issue disappears. maybe it's something related to the need of a context for the preload?
Hi. I was using the
precacheImage
built-in function, however im facing some issues.im using an extension to cache every svg available.
however when I call it directly from my splash sub-widget I keep receiving
flutter: Error: Exception: Invalid image data flutter: Stack Trace: #0 _futurize (dart:ui/painting.dart:7021:5) flutter: #1 ImageDescriptor.encoded (dart:ui/painting.dart:6827:12) flutter: #2 instantiateImageCodecWithSize (dart:ui/painting.dart:2306:60) flutter: #3 PaintingBinding.instantiateImageCodecWithSize (package:flutter/src/painting/binding.dart:146:15) flutter: #4 AssetBundleImageProvider._loadAsync (package:flutter/src/painting/image_provider.dart:762:18) flutter: <asynchronous suspension> flutter: #5 MultiFrameImageStreamCompleter._handleCodecReady (package:flutter/src/painting/image_stream.dart:1013:3) flutter: <asynchronous suspension> flutter: flutter: Error: Exception: Invalid image data flutter: Stack Trace: #0 _futurize (dart:ui/painting.dart:7021:5) flutter: #1 ImageDescriptor.encoded (dart:ui/painting.dart:6827:12) flutter: #2 instantiateImageCodecWithSize (dart:ui/painting.dart:2306:60) flutter: #3 PaintingBinding.instantiateImageCodecWithSize (package:flutter/src/painting/binding.dart:146:15) flutter: #4 AssetBundleImageProvider._loadAsync (package:flutter/src/painting/image_provider.dart:762:18) flutter: <asynchronous suspension> flutter: #5 MultiFrameImageStreamCompleter._handleCodecReady (package:flutter/src/painting/image_stream.dart:1013:3) flutter: <asynchronous suspension> flutter:
and this is the PreloaderWidget:
this only happens if using the preload, and im not sure how to fix it...
The text was updated successfully, but these errors were encountered: