LegendItem constructor
const
LegendItem({
- Key? key,
- required Segment segment,
- LegendItemStyle? style,
Create a legend item from a Segment.
Implementation
const LegendItem({
super.key,
required this.segment,
this.style,
});