Rect constructor

const Rect(
  1. int x,
  2. int y,
  3. int width,
  4. int height,
)

Implementation

const Rect(this.x, this.y, this.width, this.height);