onUpdate

details

debugPrint

'onUpdate'

);

onEnd

details

debugPrint

'onEnd'

);

};

},

),

},

child:

Container

()

);

Code after migration: (Flutter 3.4.0):

void

main

()

runApp

Foo

());

class

Foo

extends

StatelessWidget

@override

Widget

build

BuildContext

context

return

GestureDetector