We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
下载压缩包后本地测试报错,跟flutter sdk版本 有关系嘛?我的flutter版本为1.2.1
The text was updated successfully, but these errors were encountered:
可能是吧 你的版本太老了,现在都1.9.1了 我的是最新的 老版本的话不能这么写好像 以前 ` static Future<flutterui.Image> load(String url) async { ui.ImageStream stream = new ui.AssetImage(url, bundle: getAssetBundle()) .resolve(ui.ImageConfiguration.empty); Completer<flutterui.Image> completer = new Completer<flutterui.Image>(); void listener(ui.ImageInfo frame, bool synchronousCall) { final flutterui.Image image = frame.image; completer.complete(image); stream.removeListener(listener); }
stream.addListener(listener); return completer.future;
}`
Sorry, something went wrong.
No branches or pull requests
下载压缩包后本地测试报错,跟flutter sdk版本
有关系嘛?我的flutter版本为1.2.1
The text was updated successfully, but these errors were encountered: