LegendConfig constructor
const
LegendConfig({
- LegendDirection direction = LegendDirection.horizontal,
- double itemSpacing = 16,
- double symbolSize = 12,
- double symbolLabelSpacing = 4,
- TextStyle? labelStyle,
- LegendSymbolShape symbolShape = LegendSymbolShape.circle,
Creates a legend configuration.
Implementation
const LegendConfig({
this.direction = LegendDirection.horizontal,
this.itemSpacing = 16,
this.symbolSize = 12,
this.symbolLabelSpacing = 4,
this.labelStyle,
this.symbolShape = LegendSymbolShape.circle,
});