Rect constructor

Rect(
  1. double? x1,
  2. double? y1,
  3. double? x2,
  4. double? y2,
  5. double? width,
  6. double? height,
)

Implementation

Rect(this.x1, this.y1, this.x2, this.y2, this.width, this.height);