2d-inc / Flare-Flutter

Load and get full control of your Rive files in a Flutter project using this library.
https://rive.app/
MIT License
2.55k stars 469 forks source link

Int32List issue #131

Closed nitneuq33 closed 5 years ago

nitneuq33 commented 5 years ago

I try to upgrade flutter to 1.7.8, but I found an issue not related with flare package, so I try to downgrade flutter to 1.5.4 and downgrad flare package to 1.5.3 who worked before, and now I have :

Compiler message:
file:///C:/Users/utilisateur/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-1.5.4/lib/flare.dart:1027:18: Error: The argument type 'Uint16List' can't be assigned to the parameter type 'Int32List'.
 - 'Uint16List' is from 'dart:typed_data'.
 - 'Int32List' is from 'dart:typed_data'.
Try changing the type of the parameter, or casting the argument to 'Int32List'.
        indices: _indices, textureCoordinates: _uvBuffer);
                 ^
luigi-rosso commented 5 years ago

If you're using Flutter 1.7.8, you should upgrade to the latest Flare (1.5.4). More details: https://github.com/2d-inc/Flare-Flutter/issues/126#issuecomment-511609969

nitneuq33 commented 5 years ago

I have all reinstall it's ok now

luigi-rosso commented 5 years ago

Sounds good!