ChartPainter constructor

ChartPainter({
  1. required AnimationController controller,
  2. required List<ChartLayer> layers,
  3. EdgeInsets padding = EdgeInsets.zero,
  4. List<ChartLayer>? oldLayers,
  5. UpdateTouchableShapesCallback? onUpdateTouchableShapes,
  6. ChartTouchCallbackData? touchedData,
})

Implementation

ChartPainter({
  required this.controller,
  required this.layers,
  this.padding = EdgeInsets.zero,
  this.oldLayers,
  this.onUpdateTouchableShapes,
  this.touchedData,
});