LegendItemBuilder typedef

Widget LegendItemBuilder (
  1. String legendText,
  2. dynamic series,
  3. dynamic point,
  4. int seriesIndex
)

Returns the widget.

Customize the appearance of legend items with your template by using legendItemBuilder property of legend.

Implementation

typedef LegendItemBuilder = Widget Function(
    String legendText, dynamic series, dynamic point, int seriesIndex);