StatelessWidget

@override

Widget

build

BuildContext

context

return

Listener

onPointerSignal:

PointerSignalEvent

event

if

event

is

PointerScrollEvent

debugPrint

'mouse scrolled

${event.scrollDelta}

);

},

onPointerPanZoomStart:

PointerPanZoomStartEvent

event

debugPrint

'trackpad scroll started'

);

},

onPointerPanZoomUpdate:

PointerPanZoomUpdateEvent

event

debugPrint

'trackpad scrolled