legendIconType property

  1. @override
LegendIconType legendIconType
finalinherited

Shape of the legend icon.

Any shape in the LegendIconType can be applied to this property.

Defaults to LegendIconType.seriesType.

Also refer LegendIconType.

Widget build(BuildContext context) {
   return Container(
       child: SfFunnelChart(
           series: FunnelSeries<ChartData, String>(
              legendIconType: LegendIconType.diamond,
            )
       )
   );
}

Implementation

@override
final LegendIconType legendIconType;