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

[pasteboard] Rename Pasteboard.image to Pasteboard.fileBytes #194

Closed
Maksimka101 opened this issue Jan 5, 2023 · 1 comment
Closed

[pasteboard] Rename Pasteboard.image to Pasteboard.fileBytes #194

Maksimka101 opened this issue Jan 5, 2023 · 1 comment

Comments

@Maksimka101
Copy link

Hey, thanks for the package, it's solving my problem!

But when I started working with it I didn't understand that I can get the file bytes from the Pasteboard.image. It's not obvious to me. So if you'll rename this getter to the fileBytes it will be much more convenient and easier to understand

@boyan01
Copy link
Contributor

boyan01 commented Jan 13, 2023

Thansk for the advice, but It doesn't sounds good to me.

The Pasteboard.image only designed to get image data bytes. And the files path could obtain by Pasteboard.files , then you can read the bytes by dart io File apis .

@boyan01 boyan01 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants