drawRect method
Draws an unfilled or filled rectangle.
Parameters:
rect: The rectangle region boundaries.color: The color of the rectangle border or fill.fill: If true, fills the rectangle solid (default: false).
Implementation
void drawRect(XVRect rect, XVColor color, {bool fill = false}) {
DrawingProcessor.drawRect(this, rect, color, fill: fill);
}