AndroidPointerCoords constructor

const AndroidPointerCoords(
  1. {@required double orientation,
  2. @required double pressure,
  3. @required double size,
  4. @required double toolMajor,
  5. @required double toolMinor,
  6. @required double touchMajor,
  7. @required double touchMinor,
  8. @required double x,
  9. @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);