PointerSignalEvent constructor

const PointerSignalEvent({
  1. int viewId = 0,
  2. Duration timeStamp = Duration.zero,
  3. int pointer = 0,
  4. PointerDeviceKind kind = PointerDeviceKind.mouse,
  5. int device = 0,
  6. Offset position = Offset.zero,
  7. int embedderId = 0,
})

Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.

Implementation

const PointerSignalEvent({
  super.viewId,
  super.timeStamp,
  super.pointer,
  super.kind = PointerDeviceKind.mouse,
  super.device,
  super.position,
  super.embedderId,
});