Closed vanelizarov closed 5 years ago
This is due to some breaking changes on Flutter's master branch. We had to change the type of the list accordingly.
You're using Flutter's dev channel, so you can either use Flutter master (from the command line: flutter channel master
), or you can change the type of the list yourself on this line, and this assignment with Uint16.fromList(triangles)
while we figure out a better fix for this.
@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!
This is due to some breaking changes on Flutter's master branch. We had to change the type of the list accordingly. You're using Flutter's dev channel, so you can either use Flutter master (from the command line:
flutter channel master
), or you can change the type of the list yourself on this line, and this assignment withUint16.fromList(triangles)
while we figure out a better fix for this.This is due to some breaking changes on Flutter's master branch. We had to change the type of the list accordingly. You're using Flutter's dev channel, so you can either use Flutter master (from the command line:
flutter channel master
), or you can change the type of the list yourself on this line, and this assignment withUint16.fromList(triangles)
while we figure out a better fix for this.
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! In any case, Flutter stable works with this repo's stable branch
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).
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
: