-
Notifications
You must be signed in to change notification settings - Fork 476
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: The argument type 'Null Function(FlutterActor)' can't be assigned to the parameter type 'FutureOr<dynamic> Function(Future<FlutterActor>)' #77
Comments
Compiler message:
[√] Flutter (Channel stable, v1.2.1, on Microsoft Windows [Version 10.0.17763.437], locale bs-Latn-BA) [√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [√] Android Studio (version 3.3) [√] IntelliJ IDEA Community Edition (version 2019.1) [√] VS Code, 64-bit edition (version 1.25.1) [√] Connected device (1 available) • No issues found! |
Changing Flutter channel to master fixes this problem and introduces the new one: #75. After this everything works... |
same error... |
It worked on stable channel till yesterday. Now fails. Our release deadline under treat ( |
We are also on stable channel and it doesnt build. Same error :/ |
Any news??... |
This is due to some breaking changes to the current Flutter |
We're working through some breaking changes between Flutter stable and master/dev. If you need a build for flutter stable right now, please point your pub to 1.3.13 as follows: flare_flutter: 1.3.13 Note there's no ^ before the version number. |
We have a new system in place for handling these breaking changes. Please update your pubspec to |
I was facing the same issue but with this I checked my code and since the function 'Null Function(DateTime, List)' can't be assigned to the parameter type 'void Function(DateTime, List, List)' |
Hi, I have the same error message, can you please copy your code with the modification? Thank you very much onDaySelected: (date, events) { |
Hi @cmoradiaz81 thank you for reaching out, i also saw your email i'm writing the answer here but if you still get the error keep me posted i'll try my best to resolve it.
onDaySelected: (date, events, _) { |
Thank you very much for your quick response, it works perfectly !!! Any help please let me know regards |
No issue bro, anytime 💯 |
Error launching application.
Compiler message:
file:///.../flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-1.4.0/lib/flare_cache_asset.dart:20:59: Error: The argument type 'Null Function(FlutterActor)' can't be assigned to the parameter type 'FutureOr Function(Future)'.
Try changing the type of the parameter, or casting the argument to 'FutureOr Function(Future)'.
compute(FlutterActor.loadFromByteData, data).then((FlutterActor actor) {
^
Flutter 1.2.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8661d8aecd (10 weeks ago) • 2019-02-14 19:19:53 -0800
Engine • revision 3757390fa4
Tools • Dart 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
The text was updated successfully, but these errors were encountered: