Rect.fromLTRB constructor

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

Construct a rectangle from its left, top, right, and bottom edges.

Implementation

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