LegendOptions constructor

const LegendOptions({
  1. bool isLegendContainerShown = true,
  2. double legendContainerMarginLR = 8.0,
  3. double legendContainerMarginTB = 4.0,
  4. double betweenLegendItemsPadding = 4.0,
  5. double legendColorIndicatorWidth = 20.0,
  6. double legendItemIndicatorToLabelPad = 2.0,
  7. TextAlign legendTextAlign = ui.TextAlign.left,
})

Implementation

const LegendOptions({
  this.isLegendContainerShown = true,
  this.legendContainerMarginLR = 8.0,
  this.legendContainerMarginTB = 4.0,
  this.betweenLegendItemsPadding = 4.0,
  this.legendColorIndicatorWidth = 20.0,
  this.legendItemIndicatorToLabelPad = 2.0,
  this.legendTextAlign = ui.TextAlign.left,
});