Differences between GestureDetector and Listener widgets ?

28 views
Skip to first unread message

Chagnas Emmanuel

unread,
Aug 1, 2018, 2:05:47 PM8/1/18
to Flutter Dev
Hi,
Does anybody knows the differences between a GestureDetector and a Listener widgets ?
I tried each and it seems they do the same things.
Thanks

Harish Balasubramanian

unread,
Aug 1, 2018, 2:21:26 PM8/1/18
to emmanue...@gmail.com, flutt...@googlegroups.com
I believe that the Gesture Detector widget can listen for more events, for example, onLongPress, onHorizontalDragDown, so Gesture Detectors have more properties than Listener Widgets.

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages