Constructs a Rectangle from a Rect.
factory Rectangle.fromRect(Rect rect) => Rectangle.fromLTRB(rect.left, rect.top, rect.right, rect.bottom);