LegendOptions constructor

const LegendOptions({
  1. bool showLegends = true,
  2. bool showLegendsInRow = false,
  3. TextStyle legendTextStyle = defaultLegendStyle,
  4. BoxShape legendShape = BoxShape.circle,
  5. LegendPosition legendPosition = LegendPosition.right,
  6. Map<String, String> legendLabels = const {},
})

Implementation

const LegendOptions({
  this.showLegends = true,
  this.showLegendsInRow = false,
  this.legendTextStyle = defaultLegendStyle,
  this.legendShape = BoxShape.circle,
  this.legendPosition = LegendPosition.right,
  this.legendLabels = const {},
});