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

The getter 'data' isn't defined for the class 'ExifData' #148

Open
KalaliEhsan opened this issue Mar 18, 2024 · 1 comment
Open

The getter 'data' isn't defined for the class 'ExifData' #148

KalaliEhsan opened this issue Mar 18, 2024 · 1 comment

Comments

@KalaliEhsan
Copy link

You should update image package in pubsepc.yaml. because it is an error like this:

../../../../../.pub-cache/hosted/pub.dev/crop_your_image-0.7.3/lib/src/crop.dart:730:27: Error: The getter 'data' isn't defined for the class 'ExifData'.
 - 'ExifData' is from 'package:image/src/exif/exif_data.dart' ('../../../../../.pub-cache/hosted/pub.dev/image-3.3.0/lib/src/exif/exif_data.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'data'.
  switch (tempImage?.exif.data[0x0112] ?? -1) {
@chooyan-eng
Copy link
Owner

@KalaliEhsan I guess you are using the version of 0.7.3, but the latest version is 1.0.2. Can you try again with the latest version?

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