This might help you :) 👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com Source Code: github.com/JohannesMilke/pinch_zoom_image Zoom Image On Double Tap: kzbin.info/www/bejne/amXQgXurprWairc 3D Flip Image Rotation Animation Tutorial: kzbin.info/www/bejne/jl7cl6iBas6ra7c 3D Flip Image Rotation By Gestures Tutorial: kzbin.info/www/bejne/q4LaZoqojcSAh7s Rotate Image By Degrees Tutorial: kzbin.info/www/bejne/iYbapX-MhLt0nKs 3D Effects In ListView Tutorial: kzbin.info/www/bejne/rZ-3in6Aeq9qnJY Animated Progress Button Animation Tutorial: kzbin.info/www/bejne/moCofKGEibeXp5I Pick Images From Camera And Gallery Tutorial: kzbin.info/www/bejne/g4TZZGughJl4gM0 Image Slider Tutorial: kzbin.info/www/bejne/gHawqWWXrZVqaZY Page Transition Animation Tutorial: kzbin.info/www/bejne/lYOWdpKXpMtpb8U Horizontal Scrollable Image Card Tutorial: kzbin.info/www/bejne/mJKkkH1rqbqne7c Capture Screenshot Tutorial: kzbin.info/www/bejne/qHKln5R8Yr2eaac Set Background Image Tutorial: kzbin.info/www/bejne/qXW2ZZZneJJ5msk Set Background Color Tutorial: kzbin.info/www/bejne/m3-ZY62ios90e7M Dark Mode Switch Tutorial: kzbin.info/www/bejne/foSkkmyvnpWCg6M Flutter Layout Basics Tutorial: kzbin.info/www/bejne/r4rbppiKg653oqM Shimmer Effect Animation Tutorial: kzbin.info/www/bejne/mHqvaoJjorN5iM0 Shader Mask Tutorial: kzbin.info/www/bejne/gHWYeneLeZKApdE
@RaphaelPungin3 жыл бұрын
Amazing video! Pinch to zoom sounded like a simple topic, but you have explored so much detail that I have not even thought of! Thank you!
@ВикторЦай-л7я2 жыл бұрын
Big big big thanks, man!
@psatler3 жыл бұрын
That was so cool, Johannes! Thanks!
@EsmeraldaLopez-zt6yl3 жыл бұрын
Nice video. Thanks!
@althafaralijaffarali18033 жыл бұрын
Advance wishes for the 30k subs bro 🔥❤️🔥. Keep rocking 👌. Do you remember? I told you that you will definitely reach 30k by the end of this year. You proved it 🔥. Thanks for your contribution bro 🎉🎊. Your consistent will definitely gonna take you to the great heights 🌟🌠
@Maystro_eg3 жыл бұрын
absolutely Amazing...
@huguesbomo92973 жыл бұрын
thanks very much again
@md.ruhulamin79633 жыл бұрын
Thank you sir.
@christinewasike2 жыл бұрын
It's difficult to see what you have set as the argument for the curve parameter in the CurveAnimate contractor. Please clarify what comes after "curve: Curve..."
@HeyFlutter2 жыл бұрын
Thank You Christine Wasike! Follow this link: api.flutter.dev/flutter/animation/CurvedAnimation-class.html I hope you will get your answer 🙂
@christinewasike2 жыл бұрын
@@HeyFlutter Appreciate it. Thank you!
@letmeflutter6644 Жыл бұрын
thank you
@HeyFlutter Жыл бұрын
You are welcome, @letmeflutter6644 😊
@kingster996 Жыл бұрын
Thanks - really appreciate the additional info and detailed instructions. Please have a beer on me!
@HeyFlutter Жыл бұрын
Glad I could be of help, Thank you Chris King! 😊
@samo92mx8 ай бұрын
Whats the difference initialize after or before super.initState?
@HeyFlutter8 ай бұрын
Thank You @samo92mx! Follow this link: stackoverflow.com/questions/58400001/should-i-call-super-initstate-at-the-end-or-at-the-beginning#:~:text=As%20you%20could%20see%20in,dispose()%20. I hope you will get your answer 🙂
@demosongsheetmusic3 жыл бұрын
Amazing tutorial! Thank you! Can you explain two things for me please? At 4:41, _onInteractionStart_ contains _showOverlay(context)_ call without any checks. Then, just a few seconds later, at 4:49, you do the the check _if (entry == null) showOverlay(context)_ Also, at 6:26, you added a check to _onInteractionEnd_ _if (details.pointerCount != 1) return_ Why did you add these checks? What do you achieve by this?
@demosongsheetmusic3 жыл бұрын
@@HeyFlutter Oh, so _onInteractionEnd_ might get called multiple times, okay. It won't be a big mistake to leave the second check out, since _resetAnimation_ looks idempotent to me (won't do anything if animation is stopped). Thanks for answering so quickly! 😊
@HeyFlutter2 жыл бұрын
Thanks, Demo song sheet music Casper Jazz! 🙂These are small checks 1. You want to show only one overlay at a time 2. Execute this method only once when one pointer is tapping the screen. Since if you end the interaction it will call onInteractionEnd twice with one finger on the screen or zero fingers on the screen :) Remember during the interaction you have 2 fingers on the screen.
@faizulla58383 жыл бұрын
What Flutter in yours courses 1.2~2.0 .. or 2.5?
@nickschepers363 Жыл бұрын
Wow, thanks. This helped me a lot with my progress!
@HeyFlutter Жыл бұрын
Thank You Nick Schepers! Follow this link: stackoverflow.com/questions/56423707/flutter-zoomable-widget I hope you will get your answer 🙂
@amonlexa575 ай бұрын
Please tell me what to write inside Clamp? final double opacity = ((scale - 1) / (maxScale - 1)).clamp(?, ?);
@HeyFlutter5 ай бұрын
Thank You @amonlexa57! Follow this link: stackoverflow.com/questions/56970838/whats-the-logic-of-clamp-function-in-dart I hope you will get your answer 🙂
@ずーやん-w8y Жыл бұрын
Is there a way to get the color information of an image pixel? "How can I get the normal image size and the enlarged image size?"
@HeyFlutter Жыл бұрын
Thank You ずーやん! Follow this link: stackoverflow.com/questions/61793700/flutter-get-pixel-color-from-image-in-var I hope you will get your answer 🙂
@Yeraybt Жыл бұрын
Could someone help me by telling me how I can save that zoomed image and add it to another screen to a CircleAvatar and keep the same centre point? thx
@HeyFlutter Жыл бұрын
Thank You Yeray bt! Follow this link: github.com/mchome/flutter_advanced_networkimage/issues/113 I hope you will get your answer 🙂
@prrs113 жыл бұрын
Thank you !, i have a question, how i can improve the sensitive of pinch to zoom inside a listview, sometimes is hard to zooming because the listview scroll wins the battle of the gesture and the list scrolled instead of zooming.?
@HeyFlutter2 жыл бұрын
Thanks, Rodrigo Porras! 🙂 Check out this issue here: github.com/flutter/flutter/issues/70192 I tried it out on my device and for me it works fine, for vertical and horizontal ListViews and PageViews.
@HUTIENLAN10 ай бұрын
I don't know why but this caused a very weird behavior. For example, I can't show overlay every time. Sometimes it does work sometimes it doesn't. And most important, it caused an error when I tried to pop back and the overlay doesn't disappear.
@HeyFlutter10 ай бұрын
Thank you, @HUTIENLAN! 🙂. Please try to provide enough details with your question
@HUTIENLAN9 ай бұрын
@@HeyFlutter For example, it doesn't work at all on physical iOS device. Also, it does work on android phone. However, it could not zoom in each time. You have to try couple times to show an overlay
@billiardoxx2 жыл бұрын
Hi, I'm having a problem with the Overlay widget, it is removed from beginning of animation and not when the animation is completed. So I had to disable the call to addStatusListener method, and I added removeOverlay method into event onInteractionEnd. Moreover I've noted the image is not zoomed in from the first contact, you need a second contact and the animation just starts. Any advice?
@billiardoxx2 жыл бұрын
@@HeyFlutter Nop, no error is showed in debug console. I'll try publish my code in Github later if you wish to check it.
@YXUN20003 жыл бұрын
Can this be done on PDF file?
@YXUN20003 жыл бұрын
@@HeyFlutter noted, thank you for your reply!
@HeyFlutter2 жыл бұрын
Thanks, YX! 🙂In general, you can use this pinch zoom for every widget in Flutter. However in general, the zoom should be supported by your PDF package so you shouldn't do it on your own.
@deutschmitarabien3 жыл бұрын
it doesnt work with entry its null and not initilaized
@HeyFlutter2 жыл бұрын
Hello, Nagham Ahmed Alskhni! Follow this link: stackoverflow.com/questions/60068435/what-is-null-safety-in-dart, I hope it will solve your problem. Thank You 🙂
@emadharazi50442 жыл бұрын
Wow!!
@HeyFlutter2 жыл бұрын
Thank you, Emad Harazi! 🙂
@chahodiyahina24482 жыл бұрын
how can get source code
@HeyFlutter2 жыл бұрын
Thank You chahodiya hina!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware