Bounds.fromLTRB constructor
Creates a Bounds from left, top, right, bottom values.
Implementation
factory Bounds.fromLTRB(
double left, double top, double right, double bottom) {
return Bounds(
x: left,
y: top,
width: right - left,
height: bottom - top,
);
}