Code Monkey home page Code Monkey logo

Comments (3)

ko2ic avatar ko2ic commented on August 22, 2024

@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.

ko2ic avatar ko2ic commented on August 22, 2024

Close it because it has been confirmed that it works without problems.

from image_downloader.

ishaileshmishra avatar ishaileshmishra commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.