-
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
The argument type 'Int32List' can't be assigned to the parameter type 'Uint16List' #79
Comments
This is due to some breaking changes on Flutter's master branch. We had to change the type of the list accordingly. |
@umberto-sonnino cool! Would it be ok if I then submit PR? |
Hey @vanelizarov, thanks for your contribution, but unfortunately there are some breaking differences between the various Flutter versions, depending on the channel you're using: this means that simply changing those types won't fix the issue, because it'll break for somebody else using a different channel. @luigi-rosso created ad-hoc branches that support the corresponding Flutter channel. You can take a look at the updated README to see how this all works! |
Hello! I've changed flutter channel to master, but still got the same issue. http://priscree.ru/img/99a80c98010a28.png |
Hey @prudnikoff, you can take a look at the README for how to set everything up according to the Flutter Channel you want to use! |
Locally changing line 875 to Uint16List _indices; and line 936 to Uint16List.fromList(triangles); temporarily solves the issue and allows you to run the app, even though it may not be the best solution (not familiar with Flare data). |
now flare is taken from dev branch
True, wanted to make this PR, but already done. |
recent beta version of flutter(1.19.0-4.2.pre) is not giving this error. |
Suddenly compiler started showing me this error:
I'm using only
FlareActor
class and do it like so:flutter doctor
:The text was updated successfully, but these errors were encountered: