paint method
void
paint(
- ChartCanvas canvas,
- Rectangle<
num> bounds, { - List<
int> ? dashPattern, - Color? fillColor,
- FillPatternType? fillPattern,
- Color? strokeColor,
- double? strokeWidthPx,
override
Implementation
@override
void paint(ChartCanvas canvas, Rectangle<num> bounds,
{List<int>? dashPattern,
Color? fillColor,
FillPatternType? fillPattern,
Color? strokeColor,
double? strokeWidthPx}) {
canvas.drawRect(bounds,
fill: getSolidFillColor(fillColor),
stroke: strokeColor,
strokeWidthPx: getSolidStrokeWidthPx(strokeWidthPx));
}