Skip to content
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

'Int32List' can't be assigned to the parameter type 'Uint16List' #132

Closed
SameerMasood opened this issue Jul 28, 2019 · 1 comment
Closed

Comments

@SameerMasood
Copy link

SameerMasood commented Jul 28, 2019

Compiler message:
file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-1.3.10/lib/flare.dart:981:18: Error: The argument type 'Int32List' can't be assigned to the parameter type 'Uint16List'.

  • 'Int32List' is from 'dart:typed_data'.
  • 'Uint16List' is from 'dart:typed_data'.
    Try changing the type of the parameter, or casting the argument to 'Uint16List'.
    indices: _indices, textureCoordinates: _uvBuffer);

environment:
sdk: ">=2.1.0 <3.0.0"

dependencies:
flutter:
sdk: flutter

cupertino_icons: ^0.1.2
smart_flare: ^0.2.6

dev_dependencies:
flutter_test:
sdk: flutter

@umberto-sonnino
Copy link
Contributor

Hey @SameerMasood this has been a common issue and is documented in the README here.

Please make sure you're using the latest version of Flutter Stable. You can try running flutter upgrade or also flutter channel stable if you're on another channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants