LayoutRect.fromLTWH constructor

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

Creates a rectangle from left, top, width, and height.

Implementation

const LayoutRect.fromLTWH(this.left, this.top, this.width, this.height);