Git Product home page Git Product logo

Comments (7)

Tecode avatar Tecode commented on June 20, 2024

@SXZXD 修改pubspec.yaml文件里面的flutter_svg依赖flutter_svg: ">=0.12.4"修改为flutter_svg: ">=0.13.0"

from flutter_book.

SXZXD avatar SXZXD commented on June 20, 2024

是因为svg版本问题,我已经换了!
The argument type 'Null Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'
photo_view 也出现同样错误类型无法转换

from flutter_book.

Tecode avatar Tecode commented on June 20, 2024

@SXZXD photo_view你也换一下版本,有可能是我们Flutter版本不一样导致了依赖文件的版本也不一样

from flutter_book.

SXZXD avatar SXZXD commented on June 20, 2024

flutter跟photo_view我都用的是最新版。

from flutter_book.

SXZXD avatar SXZXD commented on June 20, 2024

photo_view 已进行修正,还没有发布版本

from flutter_book.

Tecode avatar Tecode commented on June 20, 2024

我现在的Flutter版本是1.5.9,如果遇到了依赖版本问题请修改一下你的版本

Flutter 1.5.9-pre.223 • channel master • https://github.com/flutter/flutter.git
Framework • revision b76a1e8312 (11 days ago) • 2019-05-13 09:06:30 +0100
Engine • revision 816d3fc586
Tools • Dart 2.3.1 (build 2.3.1-dev.0.0 a0290f823c)

from flutter_book.

Tecode avatar Tecode commented on June 20, 2024

@SXZXD 升级一下flutter的版本,现在是最新的1.7.8+hotfix.3,然后拉一下代码,我把依赖都改到最新了。

from flutter_book.

Related Issues (3)

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.