padding property
final
Padding between the legend items.
Defaults to 5.0
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
legend: Legend(
isVisible: true,
padding: 4.0)
));
}
Implementation
final double padding