Skip to content

Instantly share code, notes, and snippets.

@guilhermecarvalhocarneiro
Created December 16, 2020 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guilhermecarvalhocarneiro/bd8e5d6ac819caa9fc758e5919f3463b to your computer and use it in GitHub Desktop.
Save guilhermecarvalhocarneiro/bd8e5d6ac819caa9fc758e5919f3463b to your computer and use it in GitHub Desktop.
Erro que está travando a app, apareceu "do nada"
The following assertion was thrown resolving an image codec:
Unable to load asset:
When the exception was thrown, this was the stack:
#0 PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:225:7)
<asynchronous suspension>
#1 AssetBundleImageProvider._loadAsync (package:flutter/src/painting/image_provider.dart:668:31)
#2 AssetBundleImageProvider.load (package:flutter/src/painting/image_provider.dart:651:14)
#3 ImageProvider.resolveStreamForKey.<anonymous closure> (package:flutter/src/painting/image_provider.dart:504:13)
...
Image provider: AssetImage(bundle: null, name: "")
Image key: AssetBundleImageKey(bundle: PlatformAssetBundle#dc95c(), name: "", scale: 1.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment