getResizedRect static method
Returns source with all corners multiplied by a factor.
Implementation
static Rect getResizedRect(Rect source, num factor) => Rect.fromLTRB(
source.left * factor,
source.top * factor,
source.right * factor,
source.bottom * factor,
);