You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using latest version of flare_flutter 1.7.0 user will get the following error if they use the Flutter stable channel when compiling.
Compiler message:
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-1.7.0/lib/flare.dart:1109:11: Error: No named parameter with the name 'cacheWidth'.
cacheWidth: cacheWidth, cacheHeight: cacheHeight);
^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-1.7.0/lib/flare.dart:1106:33: Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
var load = networkImage.load(val, (Uint8List bytes,
^
Compiler failed on ......
Line 1108 in file /lib/flare.dart tries to call method PaintingBinding.instance.instantiateImageCodec with parameters "cacheWidth" and "cacheHeight", such parameters in PaintingBinding haven't been added yet to the stable flutter release.
The following commit to Flutter has the changes I just mentioned: Commit d28651d
Perhaps this was intentional, but it will catch many users by surprise. If we are supposed to use a different flutter channel with version 1.7.0, perhaps would be good to add this to the change log in flutter.dev
Cheers
The text was updated successfully, but these errors were encountered:
When using latest version of flare_flutter 1.7.0 user will get the following error if they use the Flutter stable channel when compiling.
Line 1108 in file /lib/flare.dart tries to call method PaintingBinding.instance.instantiateImageCodec with parameters "cacheWidth" and "cacheHeight", such parameters in PaintingBinding haven't been added yet to the stable flutter release.
The following commit to Flutter has the changes I just mentioned: Commit d28651d
Perhaps this was intentional, but it will catch many users by surprise. If we are supposed to use a different flutter channel with version 1.7.0, perhaps would be good to add this to the change log in flutter.dev
Cheers
The text was updated successfully, but these errors were encountered: