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.drawRRect(
bounds,
fill: getSolidFillColor(fillColor),
fillPattern: fillPattern,
stroke: strokeColor,
radius: radius,
roundTopLeft: true,
roundTopRight: true,
roundBottomRight: true,
roundBottomLeft: true,
);
}