lerp method
Interpolates between this and another bounds.
Implementation
Bounds lerp(Bounds other, double t) {
return Bounds(
x: x + (other.x - x) * t,
y: y + (other.y - y) * t,
width: width + (other.width - width) * t,
height: height + (other.height - height) * t,
);
}