Rect.fromLTRB constructor

const Rect.fromLTRB(
  1. double left,
  2. double top,
  3. double right,
  4. double bottom,
)

Creates a rectangle from the specified left, top, right, and bottom positions.

Implementation

const Rect.fromLTRB(this.left, this.top, this.right, this.bottom);