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

Create a bloc to handle the logic of the Images form section #26

Open
Tracked by #23
dromerolovo opened this issue Feb 7, 2023 · 0 comments
Open
Tracked by #23

Create a bloc to handle the logic of the Images form section #26

dromerolovo opened this issue Feb 7, 2023 · 0 comments

Comments

@dromerolovo
Copy link
Member

dromerolovo commented Feb 7, 2023

The files should be uploaded to the bloc as Uint8List. flutter_dropzone and file_pickerprovide a callback / and method to read the file as bytes. This is important because when the POST multipart request is executed the images are going to be sent as bytes? (I think that is the best method but I'm no 100% sure) http.MultipartFile.fromBytes

The event is going to be emitted everytime a file is uploaded

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

1 participant