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

Error When Using image_gallery_saver ^2.0.3 to Save Poster Image in Flutter 3.24.3: Package Not Found and Undefined Getter #321

Open
wjb2135 opened this issue Sep 27, 2024 · 1 comment

Comments

@wjb2135
Copy link

wjb2135 commented Sep 27, 2024

flutter: 3.24.3
image_gallery_saver: 2.0.3

"I am using image_gallery_saver version ^2.0.3 to implement a poster image saving feature in Flutter 3.24.3. When I click to save the image, I get the following error:
Error: Couldn't resolve the package 'image_gallery_saver' in 'package:image_gallery_saver/image_gallery_saver.dart'.
lib/presentation/invite/tab_invite/poster_widget/view.dart:7:8: Error: Not found: 'package:image_gallery_saver/image_gallery_saver.dart'
import 'package:image_gallery_saver/image_gallery_saver.dart';
^
lib/presentation/invite/tab_invite/poster_widget/view.dart:102:13: Error: The getter 'ImageGallerySaver' isn't defined for the class 'PosterWidgetPage'.

  • 'PosterWidgetPage' is from 'package:wepaytob_app/presentation/invite/tab_invite/poster_widget/view.dart' ('lib/presentation/invite/tab_invite/poster_widget/view.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'ImageGallerySaver'.
    await ImageGallerySaver.saveImage(
    ^^^^^^^^^^^^^^^^^

image

@knottx
Copy link

knottx commented Oct 4, 2024

See this #295

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