Coder Social home page Coder Social logo

Showing this error 'Null Function(dynamic, dynamic)' can't be assigned to the parameter type 'ImageStreamListener' about newsdaily HOT 6 OPEN

kaparray avatar kaparray commented on August 15, 2024 2
Showing this error 'Null Function(dynamic, dynamic)' can't be assigned to the parameter type 'ImageStreamListener'

from newsdaily.

Comments (6)

kaparray avatar kaparray commented on August 15, 2024 2

@Mwanyalo thx for help :)

from newsdaily.

Mwanyalo avatar Mwanyalo commented on August 15, 2024 1

Hello @imSanjaySoni check that link below for a fix 👇🏽

Baseflow/flutter_cached_network_image#197

from newsdaily.

iTikoz avatar iTikoz commented on August 15, 2024 1

This method has a new call, this should fix the problem:

_buildItem(context) {
    String url = widget.model.urlToImage;
    var image = Image.network(url).image;
    image
        .resolve(ImageConfiguration())
        .addListener(ImageStreamListener((ImageInfo info, bool synchronousCall) {
      colorAnimationController.forward();
      
    }));

Apart from this, did you guys manage to get the project to run and build? for me I am getting exceptions and when I finally got it to build, it shows a blank screen.

from newsdaily.

iTikoz avatar iTikoz commented on August 15, 2024

@imSanjaySoni Have you been able to run the project successfully ?

from newsdaily.

imSanjaySoni avatar imSanjaySoni commented on August 15, 2024

no, I didn't try it again. @iTikoz

from newsdaily.

iTikoz avatar iTikoz commented on August 15, 2024

@Mwanyalo did you manage to get this project to work?

from newsdaily.

Related Issues (2)

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.