padding property
Padding between the legend items.
Used to add padding between the icon shape and the text.
Defaults to 5.0
.
Widget build(BuildContext context) {
return SfCartesianChart(
legend: Legend(
isVisible: true,
padding: 4.0
)
);
}
Implementation
final double padding;