ChartScrollView constructor

const ChartScrollView({
  1. Key? key,
  2. required BoundingBox bounds,
  3. required List<ChartLayer> layers,
  4. required double contentWidth,
  5. required double contentInset,
  6. required ScrollableChartController? controller,
  7. required EdgeInsets padding,
  8. required List<ChartItem> items,
  9. required List<double> xIntervals,
  10. required List<double> yIntervals,
  11. required Widget? leftLabels,
  12. required Widget? rightLabels,
  13. required Widget? topLabels,
  14. required Widget? bottomLabels,
  15. required ValueChanged<double?>? onSelectionChanged,
  16. required ValueChanged<double>? onXPressed,
})

Implementation

const ChartScrollView({
  super.key,
  required this.bounds,
  required this.layers,
  required this.contentWidth,
  required this.contentInset,
  required this.controller,
  required this.padding,
  required this.items,
  required this.xIntervals,
  required this.yIntervals,
  required this.leftLabels,
  required this.rightLabels,
  required this.topLabels,
  required this.bottomLabels,
  required this.onSelectionChanged,
  required this.onXPressed,
});