PianoView constructor

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

Implementation

const PianoView({
  super.key,
  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,
});