Creates an RRect from the current border radius and a Rect.
RRect toRRect(Rect rect) { return RRect.fromRectAndCorners( rect, topLeft: topLeft, topRight: topRight, bottomLeft: bottomLeft, bottomRight: bottomRight, ); }