Rect constructor

Rect({
  1. int x = 0,
  2. int y = 0,
  3. int width = 0,
  4. int height = 0,
  5. int? left,
  6. int? top,
  7. int? right,
  8. int? bottom,
})

Constructs the Rect.

Implementation

Rect({
  this.x = 0,
  this.y = 0,
  this.width = 0,
  this.height = 0,
  this.left,
  this.top,
  this.right,
  this.bottom,
});