-
Notifications
You must be signed in to change notification settings - Fork 464
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
Added easy_image_viewer with page.open_image_viewer([img_paths]) method #943
Conversation
Thank you for your PR! Some notes:
|
Hope I did it right this time and no more errors..
Alright, I made those corrections on the way you get the imageProvider from URL or path. A little trickier than I thought having to wrap it in the StoreConnector builder, and some of my mistakes with null safety, but finally builds with no errors and everything looks correct. Hoping there's no more issues and it works correctly now. |
I'd really love to see that as a separate control and don't mix into |
Alright, I'm working on converting that to a Control instead.. Not as simple as I thought since there's no direct example to use as a template, and I'm trying to teach myself the ins-and-outs of your coding as I go. Almost have the new branch ready with that, but trying to iron it out, might need your help to smooth the code. The closest analogy to it was the banner or alert_dialog, but they're not really the same either. |
Finished up the ImageViewer Control and created a new PR #960 for it. I really hope I did everything right and didn't leave out any details to integrate it in. I didn't test it, but everything looks right. Please review and make any modifications needed, did my best to save you the effort. I really appreciate the work put into Flet, and I look forward to using the full screen image viewer all throughout my personal app. Thanks... |
Great work, Continue working in flet |
Hello, is this ready to use now? I can't find it anywhere in the code or documentation. |
Nope, it's still an open PR. It should be made as a control as others. |
I had already rewritten it as a Control in the other PR #960 which got closed, and this one stayed open instead. Sorry if there was misunderstanding, it's been done since January. Been waiting for it to get merged since then, but grew a bit stale. Probably needs minor adjustments and review on your end since the fork was old and has conflicts now and I haven't been able to officially test it. Would still like to see it finalized though.. |
will this be in the new release soon? |
I created another Pull Request at #2248 with the updated commit. Hopefully I did everything right and there's no problems with it, but if you see anything to be fixed or improved, please do. I'm not able to compile and test it, but pretty sure it'll work. |
#617