ChartPainter constructor
ChartPainter({
- required AnimationController controller,
- required List<
ChartLayer> layers, - EdgeInsets padding = EdgeInsets.zero,
- List<
ChartLayer> ? oldLayers, - UpdateTouchableShapesCallback? onUpdateTouchableShapes,
- ChartTouchCallbackData? touchedData,
Implementation
ChartPainter({
required this.controller,
required this.layers,
this.padding = EdgeInsets.zero,
this.oldLayers,
this.onUpdateTouchableShapes,
this.touchedData,
});