Rectangle constructor

Rectangle({
  1. required int x,
  2. required int y,
  3. required int height,
  4. required int width,
})

Implementation

Rectangle({
  required this.x,
  required this.y,
  required this.height,
  required this.width
});