ChartTooltipPieShape<T extends ChartDataItem> constructor

const ChartTooltipPieShape<T extends ChartDataItem>({
  1. required Color backgroundColor,
  2. required TextStyle nameTextStyle,
  3. required String onTextName(
    1. T
    ),
  4. required String onTextValue(
    1. T
    ),
  5. required TextStyle valueTextStyle,
  6. EdgeInsets padding = EdgeInsets.zero,
  7. double radius = 0.0,
})

Implementation

const ChartTooltipPieShape({
  required this.backgroundColor,
  required this.nameTextStyle,
  required this.onTextName,
  required this.onTextValue,
  required this.valueTextStyle,
  this.padding = EdgeInsets.zero,
  this.radius = 0.0,
});