ParentRect.fromLTWH constructor
const
ParentRect.fromLTWH(
- double left,
- double top,
- double width,
- double height,
- 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();