// Do not include PointerDeviceKind.trackpad

),

recognizer

recognizer

onStart

details

debugPrint

'onStart'

);

onUpdate

details

debugPrint

'onUpdate'

);

onEnd

details

debugPrint

'onEnd'

);

};

},

),

},

child:

Container

()

);

Using GestureRecognizer and Listener