LegendConfig constructor

const LegendConfig({
  1. LegendDirection direction = LegendDirection.horizontal,
  2. double itemSpacing = 16,
  3. double symbolSize = 12,
  4. double symbolLabelSpacing = 4,
  5. TextStyle? labelStyle,
  6. 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,
});