multiply method

Rect multiply(
  1. Size size
)

Implementation

Rect multiply(Size size) => Rect.fromLTRB(
      left * size.width,
      top * size.height,
      right * size.width,
      bottom * size.height,
    );