-
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
Latest Flutter master(Dart 2.3 ??) breaking flare #75
Comments
It looks like the latest Flutter master has changed the In the meantime @Zazo032's temporary fix works, but we'll be updating everything asap! |
Is this issue solved?
|
We've been making a few updates to the runtime in order to have better support for these changes in the Flutter APIs. |
Now that these changes have landed in flutter dev, you can use either our master or dev channel if you are using non-stable version of flutter:
|
Fix similar to 2d-inc/Flare-Flutter#75
|
We already updated flare_flutter for this yesterday! Please update your flare_flutter dependency in pubspec.yaml to ^1.5.4 and run pub get. |
@luigi-rosso can you also check 2d-inc/Nima-Flutter#16, because it's a blocker for https://github.com/flutter/slideplayer/pull/8 |
Yes, I’ll take a look at this today! |
Should this ticket be closed then? |
Closing this issue. If you still see this, you’re likely on an old flutter or flare version. Make sure to update flare_flutter to 1.5.4 and run flutter upgrade on flutter channel stable. |
@luigi-rosso Had the same issue, followed the instructions above and was fixed. |
Hi
I am getting the following error on latest flutter master branch, my hunch is that this is related the dart 2.3 update. Working fine on Stable channel
Compiler message:
file:///Users/rahul/.pub-cache/hosted/pub.dartlang.org/flare_flutter-1.3.13/lib/flare.dart:981:18: Error: The argument type 'Int32List' can't be assigned to the parameter type 'Uint16List'.
Try changing the type of the parameter, or casting the argument to 'Uint16List'.
indices: _indices, textureCoordinates: _uvBuffer);
^
Compiler failed on /Users/rahul/Development/AndroidStudioProjects/scrim/lib/main.dart
Finished with error: Gradle task assembleDevelopmentDebug failed with exit code 1
Flutter version:
Flutter 1.5.5-pre.19 • channel master • https://github.com/flutter/flutter.git
Framework • revision ac7f875778 (2 hours ago) • 2019-04-22 21:41:18 -0400
Engine • revision 0523870e0b
Tools • Dart 2.3.0 (build 2.3.0-dev.0.1 cf4444b803)
The text was updated successfully, but these errors were encountered: