Legend constructor
Legend(
- List<
LegendItem> items, - LegendPosition position, {
- Color? backgroundColor,
- Color? textColor,
Implementation
Legend(this.items, this.position, {this.backgroundColor, this.textColor});