ChartTooltipLineShape<T extends ChartDataItem> constructor

const ChartTooltipLineShape<T extends ChartDataItem>({
  1. required Color backgroundColor,
  2. required Color circleBackgroundColor,
  3. required Color circleBorderColor,
  4. required Offset currentPos(
    1. T
    ),
  5. required String onTextValue(
    1. T
    ),
  6. required TextStyle textStyle,
  7. double circleBorderThickness = 2.0,
  8. double circleSize = 6.0,
  9. double marginBottom = 0.0,
  10. EdgeInsets padding = EdgeInsets.zero,
  11. double radius = 0.0,
  12. double triangleSideLength = 10.0,
})

Implementation

const ChartTooltipLineShape({
  required this.backgroundColor,
  required this.circleBackgroundColor,
  required this.circleBorderColor,
  required this.currentPos,
  required this.onTextValue,
  required this.textStyle,
  this.circleBorderThickness = 2.0,
  this.circleSize = 6.0,
  this.marginBottom = 0.0,
  this.padding = EdgeInsets.zero,
  this.radius = 0.0,
  this.triangleSideLength = 10.0,
});