LegendItemBuilder typedef

LegendItemBuilder = Widget Function(String legendText, dynamic series, dynamic point, 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);