ChartView constructor

const ChartView({
  1. Key? key,
  2. required ChordChart chart,
  3. ChordNotation notation = ChordNotation.american,
  4. bool degrees = false,
  5. StateStreamable<ChartCursor?>? cursor,
  6. Map<ChartSlot, Color> slotColors = const {},
  7. Map<ChartSlot, ChartCaption>? captions,
})

Implementation

const ChartView({
  super.key,
  required this.chart,
  this.notation = ChordNotation.american,
  this.degrees = false,
  this.cursor,
  this.slotColors = const {},
  this.captions,
});