Horizontal Drag Gesture - Flutter Programming

preview_player
Показать описание
🚀 Get 100% Off Your First Month with CustomGPT! 🚀

Sign up for a Standard CustomGPT.ai subscription using my referral link and enjoy 100% off your first month. Plus, you'll help support my channel with a 15% commission at no extra cost to you!

Udemy Coupons
Here are coupons for all of my udemy courses:

For all new courses feel free to ask for a coupon, enjoy.

If you like this stuff, as always, show the love through comments, likes, favorites, subscriptions, etc.

Thousands of free videos at

If you have any questions feel free to post them at

Our Website

Our games made using Cocos2d-x
------------------------------------------------------

Рекомендации по теме
Комментарии
Автор

Hello - nice tutorial. Thanks!
I want to share my 'struggle' with gesture detector -> make sure that apart from using "onVerticalDragUpdate" or "onHorizontalDragUpdae" to detect the speed and direction of the drag you call your desired function by the "onVerticalDragEnd" - if you call your function directly from DragUpdate you will trigger it more than once ...

lukaszglowacz
Автор

hey dude, do u have any idea how to achieve multi finger gesture detector ?

orwa
Автор

How to achieve the bi-directional scrolling in flutter, could you please provide the video session is more help us

balasubramanisundaram
Автор

Hello sir, i just implemented onHorizontalDragCancel and print log as well but can't see that log in my console, also i make it same case like phone call in simulator so app goes are in background and phone call are in foreground still it does not execute function of cancel event so can you help me out how i can observe this event ?
Here is my code.

onHorizontalDragStart: (DragStartDetails details){
print("Horizontal Drag start");
print(details);
},
onHorizontalDragEnd: (DragEndDetails details){
print("Horizontal Drag End");
print(details);
},
onHorizontalDragCancel: (){
print("Horizontal Drag Cancel");
},

sandipborad
join shbcf.ru