type property

Type type
final

The type of event, there are currently four valid types, PointerDownEvent, PointerMoveEvent, PointerUpEvent, and PointerCancelEvent.

if (event.type == PointerDownEvent) {
  // Do something!
}

Implementation

final Type type