Rect.fromLTWH constructor

const Rect.fromLTWH(
  1. double left,
  2. double top,
  3. double width,
  4. double height,
)

Creates a rectangle from the specified left and top positions with width and height dimensions.

Implementation

const Rect.fromLTWH(double left, double top, double width, double height)
    : this.fromLTRB(left, top, left + width, top + height);