copyRect function
Implementation
Rect copyRect(Rect rect, { double? left, double? top, double? right, double? bottom }) {
return Rect.fromLTRB(left ?? rect.left, top ?? rect.top, right ?? rect.right, bottom ?? rect.bottom);
}
Rect copyRect(Rect rect, { double? left, double? top, double? right, double? bottom }) {
return Rect.fromLTRB(left ?? rect.left, top ?? rect.top, right ?? rect.right, bottom ?? rect.bottom);
}