PianoView constructor
const
PianoView({
- Key? key,
- required Map<
int, Color> ? buttonColors, - required NoteType noteType,
- required double whiteButtonWidth,
- required double whiteButtonHeight,
- required List<
int> noFlatIndexes, - required double blackButtonWidth,
- required double blackButtonHeight,
- required int noteCount,
- required int firstNote,
- required int firstNoteOctave,
- required bool showOctaveNumber,
- 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,
});