LegendLinearConfig constructor

const LegendLinearConfig({
  1. LegendLinearOrientation orientation = LegendLinearOrientation.horizontal,
  2. double length = 200,
  3. double thickness = 12,
  4. double borderRadius = 2,
  5. TextStyle? labelStyle,
  6. int labelCount = 5,
  7. double labelSpacing = 4,
})

Creates a linear legend configuration.

Implementation

const LegendLinearConfig({
  this.orientation = LegendLinearOrientation.horizontal,
  this.length = 200,
  this.thickness = 12,
  this.borderRadius = 2,
  this.labelStyle,
  this.labelCount = 5,
  this.labelSpacing = 4,
});