toRRect method Null safety
- Rect rect
Implementation
RRect toRRect(Rect rect) {
return RRect.fromRectAndCorners(
rect,
topLeft: topLeft,
topRight: topRight,
bottomLeft: bottomLeft,
bottomRight: bottomRight,
);
}
RRect toRRect(Rect rect) {
return RRect.fromRectAndCorners(
rect,
topLeft: topLeft,
topRight: topRight,
bottomLeft: bottomLeft,
bottomRight: bottomRight,
);
}