Container

()

);

Please note: Use of raw Listener in this way could cause conflicts with other
gesture interactions as it doesn’t participate in the gesture disambiguation arena.

For gesture interactions not suitable for trackpad usage

Using GestureDetector

Code before migration:

void

main

()

runApp

Foo

());

class

Foo

extends

StatelessWidget

@override

Widget

build

BuildContext

context

return

GestureDetector

onPanStart:

details

debugPrint

'onStart'

);

},

onPanUpdate: