Offset constructor

const Offset(
  1. int dx,
  2. int dy
)

Creates an Offset with the given dx and dy.

Implementation

const Offset(this.dx, this.dy);