Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

URGENT BREAKING CHANGE : Deprecated reference #14

Open
PistonShot1 opened this issue Jul 25, 2024 · 0 comments
Open

URGENT BREAKING CHANGE : Deprecated reference #14

PistonShot1 opened this issue Jul 25, 2024 · 0 comments

Comments

@PistonShot1
Copy link

Deprecated method on new flutter version for painting , https://docs.flutter.dev/release/breaking-changes/3-13-deprecations#updates-to-imageprovider-and-paintingbinding

Resulting in this exception for this package when ran :
/C:/Users/nanda/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_gif-0.0.4/lib/flutter_gif.dart:236:8: Error: The method 'instantiateImageCodec' isn't defined for the class 'PaintingBinding'.

  • 'PaintingBinding' is from 'package:flutter/src/painting/binding.dart' ('../../Flutter/flutter/packages/flutter/lib/src/painting/binding.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'instantiateImageCodec'.
    .instantiateImageCodec(data.buffer.asUint8List());
    ^^^^^^^^^^^^^^^^^^^^^
    Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

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

No branches or pull requests

1 participant