Hello, in this flutter video, I am going to show you how to detect it double tap gesture, you we will be utilizing gesture detector. So you can apply to any sort of widget, I've got an image the way you do it for a child, and this child is going to be on this is going to be gesture detector and inside of the need to put the child that you are linking this gesture detector to and you put on double tap open brackets curly braces, and now in here you know the code that you want to run when it is double tap I'm gonna say double tap play again you can become more creative. You could do some mathematical calculation, you could be essentially, you know, mopping image, zooming in making it bigger. There'll be a good enough extra task for you to do because primarily because we have image so if I say no clear Do anything before doubletap I didn't see it did it.
So I'm gonna bring my mouse alone near to the mic. So this is single tap, single, single tap, double tap. And as you can see it registered it. And really that's it. That's all there is to use in the gesture detector to detect a double top. A double top is simply when you tap the screen in the same location in quick succession just really quickly, and that is really, really useful.
If you have any questions, feel free to pop me a message and as usual, I look forward to seeing you in the next video.