onPressedWithDevice property

(dynamic Function(PointerDeviceKind kind)?) onPressedWithDevice
final

Functional callback triggered on press. Provides PointerDeviceKind as a parameter.

Can be useful to distinguish between mouse and touch events.

Implementation

final Function(PointerDeviceKind kind)? onPressedWithDevice;