Comments (3)
@mbenci I tried with that file and it worked fine.
I confirmed it with both iOS and android in the example
of image_downloader.
from image_downloader.
Close it because it has been confirmed that it works without problems.
from image_downloader.
Problem persists:
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: type 'List' is not a subtype of type 'List'
#0 Country.all. (package:rest_countries/models/allCountries.dart:33:11)
#1 Webservice.load (package:rest_countries/webservice/webservice.dart:18:23)
#2 _CountriesState._populateNewsArticles (package:rest_countries/widgets/countryList.dart:26:18)
#3 _CountriesState.initState (package:rest_countries/widgets/countryList.dart:35:5)
#4 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4355:58)
#5 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
#6 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
#7 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
#8 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
#9 Element.inflateWidget (package:flutter/src/widgets/framework.<…>
════════ Exception caught by image resource service ════════════════════════════════════════════════
The following _Exception was thrown resolving an image codec:
Exception: Could not instantiate image codec.
When the exception was thrown, this was the stack:
#0 _futurize (dart:ui/painting.dart:4304:5)
#1 instantiateImageCodec (dart:ui/painting.dart:1682:10)
#2 PaintingBinding.instantiateImageCodec (package:flutter/src/painting/binding.dart:88:12)
#3 NetworkImage._loadAsync (package:flutter/src/painting/_network_image_io.dart:104:20)
...
Image provider: NetworkImage("https://restcountries.eu/data/arm.svg", scale: 1.0)
Image key: NetworkImage("https://restcountries.eu/data/arm.svg", scale: 1.0)
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (2) Exception caught by image resource service ════════════════════════════════════════════
Exception: Could not instantiate image codec.
════════════════════════════════════════════════════════════════════════════════════════════════════
from image_downloader.
Related Issues (20)
- Pass bearer token as header to url
- Unexpectedly found nil while implicitly unwrapping an Optional value HOT 2
- onProgressUpdate is not working correctly on IOS
- Build failed in 0.31.0 HOT 4
- Can't download from remoteRul
- 关闭网络情况下,调用ImageDownloader.downloadImage 闪退
- 闪退
- App Crashes During Download.
- io.flutter.embedding.engine.FlutterJNI.loadLibrary
- com.ko2ic.imagedownloader.ImageDownloaderPlugin$CallbackImpl$granted$3.invoke HOT 8
- FAILURE: Build failed with an exception. HOT 6
- Release version: 0.32.0 in pub.dev HOT 1
- Web not supported
- Execution failed for task ':image_downloader:compileDebugKotlin'. HOT 5
- ImageDownloaderPlugin.kt HOT 3
- Please update your new version
- Got compiling error: 'when' expression must be exhaustive at Line 332 in ImageDownloaerPlugin.kt HOT 4
- ImageDownloaderPlugin.kt:332:17 'when' expression must be exhaustive HOT 7
- PlatformException(data_error, Couldn't convert to UIImage., null, null)
- Already fixed errors and crashes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image_downloader.