customizeSegment method
Changes the series color and border width.
Implementation
@override
void customizeSegment(ChartSegment segment) {
final Color fastlineColor = color ?? paletteColor;
updateSegmentColor(segment, fastlineColor, borderWidth);
updateSegmentGradient(segment,
gradientBounds: paintBounds, borderGradient: gradient);
}