AndroidPointerCoords constructor

const AndroidPointerCoords({@required double orientation, @required double pressure, @required double size, @required double toolMajor, @required double toolMinor, @required double touchMajor, @required double touchMinor, @required double x, @required double y })

Creates an AndroidPointerCoords.

All parameters must not be null.

Implementation

const AndroidPointerCoords({
  @required this.orientation,
  @required this.pressure,
  @required this.size,
  @required this.toolMajor,
  @required this.toolMinor,
  @required this.touchMajor,
  @required this.touchMinor,
  @required this.x,
  @required this.y
}) : assert(orientation != null),
     assert(pressure != null),
     assert(size != null),
     assert(toolMajor != null),
     assert(toolMinor != null),
     assert(touchMajor != null),
     assert(touchMinor != null),
     assert(x != null),
     assert(y != null);