LegendEntry constructor

const LegendEntry({
  1. required String label,
  2. required Color color,
  3. LegendSymbolShape? shape,
})

Creates a legend entry.

Implementation

const LegendEntry({
  required this.label,
  required this.color,
  this.shape,
});