Offset constructor

  1. @literal
const Offset(
  1. int x,
  2. int y
)

Creates a new offset.

Implementation

@literal
const Offset(this.x, this.y);