scaleInPlace method
Implementation
Rect scaleInPlace(double scale) {
final double width = this.width * scale;
final double height = this.height * scale;
return Rect.fromLTWH(this.left - (width - this.width) / 2,
this.top - (height - this.height) / 2, width, height);
}