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

How to implement Image attachment in zefyr 1.0.0-dev.2.0 #463

Closed
priyesh-bit opened this issue Jan 2, 2021 · 2 comments
Closed

How to implement Image attachment in zefyr 1.0.0-dev.2.0 #463

priyesh-bit opened this issue Jan 2, 2021 · 2 comments

Comments

@priyesh-bit
Copy link

Thank you for making this dependency with flutter web support and very useful for my project.

Can you please help me with How to implement Image attachment in zefyr 1.0.0-dev.2.0 ?

Because i can not find any proper code related to it. Thank you.

@singerdmx
Copy link

singerdmx commented Jan 2, 2021

I used ImagePicker https://pub.dev/packages/image_picker
Here is how I implemented it:

https://github.com/singerdmx/flutter-quill/blob/master/lib/widgets/toolbar.dart#L386

https://github.com/singerdmx/flutter-quill/blob/master/lib/widgets/toolbar.dart#L419

Hope this helps

@priyesh-bit
Copy link
Author

Thank you for sharing your project as reference. Now i'm having my own function to pick and upload image. 🥇

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