iconHeight property Null safety

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 Container(
       child: SfCartesianChart(
           legend: Legend(
              isVisible: true,
              iconWidth: 14)
       ));
}

Implementation

final double iconHeight;