Offset constructor

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

Creates an offset. The first argument sets dx, the horizontal component, and the second sets dy, the vertical component.

Implementation

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