Legend constructor

const Legend({
  1. String? title,
  2. Color? color,
  3. Icon? icon,
  4. TextStyle? style,
  5. bool? showLeadingLine = false,
})

Implementation

const Legend({
  this.title,
  this.color,
  this.icon,
  this.style,
  this.showLeadingLine = false,
});