Rect constructor Null safety

Rect(
  1. {int? left,
  2. int? top,
  3. int? right,
  4. int? bottom}
)

Constructs a Rect

Implementation

Rect({
  this.left,
  this.top,
  this.right,
  this.bottom,
});