-
Notifications
You must be signed in to change notification settings - Fork 71
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
Error: A value of type '#lib1::TickerFuture' can't be assigned to a variable of type 'dart.async::Future<dart.core::Null>'. #7
Comments
重启电脑之后,再次运行就没问题了,暂不清楚问题出在哪里 |
example项目可以跑起来了,但是首页的菜单展不开,点击展开会报错:flutter: Another exception was thrown: 'package:dropdown_menu/_src/dropdown_menu.dart': error: line 272 pos 16: file:///Users/xxx/Desktop/FlutterDemo/flutter_dropdown_menu-master/lib/_src/dropdown_menu.dart:272:16: Error: A value of type '#lib1::TickerFuture' can't be assigned to a variable of type 'dart.async::Futuredart.core::Null'. |
Hi,使用Flutter Dev 0.10.1有这个问题,Beta 0.9.4没有出现问题 |
现在beta可以升到 0.10.2了,以前的版本是没问题的,我刚升完版本就出你上面的bug了 |
大佬,更新一下版本呗,升了0.10.2用不了了,不弹出来 |
Compiler message:
file:///Users/xxx/Desktop/FlutterDemo/flutter_dropdown_menu-master/lib/_src/dropdown_menu.dart:271:16: Error: A value of type '#lib1::TickerFuture' can't be assigned to a variable of type 'dart.async::Futuredart.core::Null'.
Try changing the type of the left hand side, or casting the right hand side to 'dart.async::Futuredart.core::Null'.
return onHide();
^
file:///Users/xxx/Desktop/FlutterDemo/flutter_dropdown_menu-master/lib/_src/dropdown_menu.dart:310:12: Error: A value of type '#lib1::TickerFuture' can't be assigned to a variable of type 'dart.async::Futuredart.core::Null'.
Try changing the type of the left hand side, or casting the right hand side to 'dart.async::Futuredart.core::Null'.
return _handleShow(index, true);
The text was updated successfully, but these errors were encountered: