PointerHoverEvent constructor

const PointerHoverEvent({Duration timeStamp: Duration.zero, PointerDeviceKind kind: PointerDeviceKind.touch, int device: 0, Offset position: Offset.zero, Offset delta: Offset.zero, int buttons: 0, bool obscured: false, double pressureMin: 1.0, double pressureMax: 1.0, double distance: 0.0, double distanceMax: 0.0, double size: 0.0, double radiusMajor: 0.0, double radiusMinor: 0.0, double radiusMin: 0.0, double radiusMax: 0.0, double orientation: 0.0, double tilt: 0.0, bool synthesized: false })

Creates a pointer hover event.

All of the argument must be non-null.

Implementation

const PointerHoverEvent({
  Duration timeStamp = Duration.zero,
  PointerDeviceKind kind = PointerDeviceKind.touch,
  int device = 0,
  Offset position = Offset.zero,
  Offset delta = Offset.zero,
  int buttons = 0,
  bool obscured = false,
  double pressureMin = 1.0,
  double pressureMax = 1.0,
  double distance = 0.0,
  double distanceMax = 0.0,
  double size = 0.0,
  double radiusMajor = 0.0,
  double radiusMinor = 0.0,
  double radiusMin = 0.0,
  double radiusMax = 0.0,
  double orientation = 0.0,
  double tilt = 0.0,
  bool synthesized = false,
}) : super(
  timeStamp: timeStamp,
  kind: kind,
  device: device,
  position: position,
  delta: delta,
  buttons: buttons,
  down: false,
  obscured: obscured,
  pressureMin: pressureMin,
  pressureMax: pressureMax,
  distance: distance,
  distanceMax: distanceMax,
  size: size,
  radiusMajor: radiusMajor,
  radiusMinor: radiusMinor,
  radiusMin: radiusMin,
  radiusMax: radiusMax,
  orientation: orientation,
  tilt: tilt,
  synthesized: synthesized,
);