PianoView constructor

const PianoView({
  1. Key? key,
  2. required Map<int, Color>? buttonColors,
  3. required NoteType noteType,
  4. required double whiteButtonWidth,
  5. required double whiteButtonHeight,
  6. required List<int> noFlatIndexes,
  7. required double blackButtonWidth,
  8. required double blackButtonHeight,
  9. required int noteCount,
  10. required int firstNote,
  11. required int firstNoteOctave,
  12. required bool showOctaveNumber,
  13. required bool showNames,
})

Implementation

const PianoView({
  super.key,
  required this.buttonColors,
  required this.noteType,
  required this.whiteButtonWidth,
  required this.whiteButtonHeight,
  required this.noFlatIndexes,
  required this.blackButtonWidth,
  required this.blackButtonHeight,
  required this.noteCount,
  required this.firstNote,
  required this.firstNoteOctave,
  required this.showOctaveNumber,
  required this.showNames,
});