iconHeight property

double iconHeight
final

Height of the icon in legend item.

Used to change the height of the icon shape.

Defaults to 12.

Widget build(BuildContext context) {
  return SfCartesianChart(
    legend: Legend(
      isVisible: true,
      iconHeight: 14
    )
  );
}

Implementation

final double iconHeight;