Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级到0.2.6报错了 #14

Closed
HZRZCW opened this issue Jun 24, 2019 · 6 comments
Closed

升级到0.2.6报错了 #14

HZRZCW opened this issue Jun 24, 2019 · 6 comments

Comments

@HZRZCW
Copy link

HZRZCW commented Jun 24, 2019

报错信息如下:
Compiler message:
file:///Users/zhangchangwei/Desktop/flutterWorkspace/flutter/.pub-cache/hosted/pub.flutter-io.cn/flustars-0.2.6+1/lib/src/widget_util.dart:88:26: Error: Method not found: 'ImageStreamListener'.
.addListener(new ImageStreamListener(
^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^
file:///Users/zhangchangwei/Desktop/flutterWorkspace/flutter/.pub-cache/hosted/pub.flutter-io.cn/flustars-0.2.6/lib/src/widget_util.dart:88:45: Error: Too many positional arguments: 0 allowed, but 1 found.
Try removing the extra positional arguments.
.addListener(new ImageStreamListener(

@Sky24n
Copy link
Owner

Sky24n commented Jun 24, 2019

//切换到flutter beta分支
flutter channel beta

//升级
flutter upgrade

@HZRZCW
Copy link
Author

HZRZCW commented Jun 24, 2019

我用稳定版不行?一定要beta分支?

@Sky24n
Copy link
Owner

Sky24n commented Jun 24, 2019

flutter 最低版本1.6.3,随便你那个分支。

@uhua
Copy link

uhua commented Jul 3, 2019

我用稳定版不行?一定要beta分支?

我也是用的稳定版,稳定版现在最高只有1.4还是1.5,要切换到beta或者dev分支才可以

@HZRZCW
Copy link
Author

HZRZCW commented Jul 4, 2019

我用稳定版不行?一定要beta分支?

我也是用的稳定版,稳定版现在最高只有1.4还是1.5,要切换到beta或者dev分支才可以

这是我不想用的原因了。。。

@Sky24n
Copy link
Owner

Sky24n commented Jul 4, 2019

早晚都要更新的,google官方在1.6.3变更的ImageStreamListener,等后面稳定版升级到1.6.3后,你现在的方法就会不兼容,原则上来说beta分支也属于稳定分支,没有什么好纠结的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants