class

Foo

extends

StatelessWidget

@override

Widget

build

BuildContext

context

return

Listener

onPointerSignal:

PointerSignalEvent

event

if

event

is

PointerScrollEvent

debugPrint

'scroll wheel event'

);

child:

Container

()

);

Code after

void

main

()

runApp

Foo

());

class

Foo

extends

StatelessWidget

@override