RRect.fromLTRBR constructor Null safety
Construct a rounded rectangle from its left, top, right, and bottom edges, and the same radius in each corner.
Implementation
RRect.fromLTRBR(double left, double top, double right, double bottom,
Radius radius)
: this._raw(
top: top,
left: left,
right: right,
bottom: bottom,
tlRadiusX: radius.x,
tlRadiusY: radius.y,
trRadiusX: radius.x,
trRadiusY: radius.y,
blRadiusX: radius.x,
blRadiusY: radius.y,
brRadiusX: radius.x,
brRadiusY: radius.y,
);