void drawRRect(RRect rrect, Paint paint)

Draws a rounded rectangle with the given Paint. Whether the rectangle is filled or stroked (or both) is controlled by Paint.style.

Source

void drawRRect(RRect rrect, Paint paint) {
  _drawRRect(rrect._value, paint._objects, paint._data);
}