TrainingPreview class
Um exemplo do passo: o som e o que se pode mostrar dele.
Constructors
-
TrainingPreview({required List<
TimedNote> notes, String? scoreXml, List<ChordTarget> ? chords, List<Pitch> ? keys, bool keysWithOctave = false}) -
const
Properties
-
chords
→ List<
ChordTarget> ? -
As cifras, quando o treino mostra a cifra.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasVisual → bool
-
Se há algo para ver: no treino de ouvido, não.
no setter
-
keys
→ List<
Pitch> ? -
As notas pelo nome, quando o treino mostra o nome ("Achar a tecla"); a
tela as escreve na nomenclatura das configurações.
final
- keysWithOctave → bool
-
Se os nomes de keys levam a oitava (o passo pede a oitava certa).
final
-
notes
→ List<
TimedNote> -
O que soa.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scoreXml → String?
-
A partitura (MusicXML), quando o treino mostra a pauta;
nullno treino de ouvido.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited