builder method
Implementation
@override
BasePainter builder(BuildContext context) {
final data = watchController();
final painter = BipolarChartPainter(
paddingTop: widget.paddingTop,
pointSpace: data.getSpace(),
scrollX: data.getScrollX(),
scale: data.getScale(),
pressOffset: data.getPressOffset(),
values: data.values,
pointWidth: data.pointWidth,
upperStyle: widget.upperStyle,
fairStyle: widget.fairStyle,
lowerStyle: widget.lowerStyle,
upperColor: widget.upperColor,
fairColor: widget.fairColor,
lowerColor: widget.lowerColor,
strokeWidth: widget.strokeWidth,
gridLineWidth: widget.gridLineWidth,
gridLineColor: widget.gridLineColor,
gridHorizontalGrids: widget.gridHorizontalGrids,
gridVerticalGrids: widget.gridVerticalGrids,
crossLineColor: widget.crossLineColor,
crossLineWidth: widget.crossLineWidth,
transform: widget.transform,
transformBarStyle: widget.transformBarStyle,
textStyle: widget.textStyle,
showText: widget.showText,
);
return painter;
}