LayoutRect.fromLTRB constructor
Creates a rectangle from left, top, right, and bottom coordinates.
The width and height are calculated as right - left and bottom - top.
Implementation
const LayoutRect.fromLTRB(this.left, this.top, double right, double bottom)
: width = right - left,
height = bottom - top;