ParentRect.fromLTWH constructor

const ParentRect.fromLTWH(
  1. double left,
  2. double top,
  3. double width,
  4. double height,
  5. ParentEdge edges,
)

Creates a ParentRect from left, top, width, height, and edges.

This is the most convenient constructor for creating rectangles with parent-relative positioning information.

Implementation

const ParentRect.fromLTWH(
  super.left,
  super.top,
  super.width,
  super.height,
  this.edges,
) : super.fromLTWH();