extends

StatelessWidget

@override

Widget

build

BuildContext

context

return

Listener

onPointerSignal:

PointerSignalEvent

event

if

event

is

PointerScrollEvent

debugPrint

'scroll wheel event'

);

},

onPointerPanZoomUpdate:

PointerPanZoomUpdateEvent

event

debugPrint

'trackpad scroll event'

);

child:

Container

()

);