Comments (7)
@SXZXD 修改pubspec.yaml
文件里面的flutter_svg
依赖flutter_svg: ">=0.12.4"
修改为flutter_svg: ">=0.13.0"
from flutter_book.
是因为svg版本问题,我已经换了!
The argument type 'Null Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'
photo_view 也出现同样错误类型无法转换
from flutter_book.
@SXZXD photo_view
你也换一下版本,有可能是我们Flutter
版本不一样导致了依赖文件的版本也不一样
from flutter_book.
flutter跟photo_view我都用的是最新版。
from flutter_book.
photo_view 已进行修正,还没有发布版本
from flutter_book.
我现在的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.
@SXZXD 升级一下flutter的版本,现在是最新的1.7.8+hotfix.3,然后拉一下代码,我把依赖都改到最新了。
from flutter_book.
Related Issues (3)
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 flutter_book.