ChartTooltipLineShape<T extends ChartDataItem> constructor
const
ChartTooltipLineShape<T extends ChartDataItem> ({
- required Color backgroundColor,
- required Color circleBackgroundColor,
- required Color circleBorderColor,
- required Offset currentPos(
- T
- required String onTextValue(
- T
- required TextStyle textStyle,
- double circleBorderThickness = 2.0,
- double circleSize = 6.0,
- double marginBottom = 0.0,
- EdgeInsets padding = EdgeInsets.zero,
- double radius = 0.0,
- 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,
});