TheoryDraw class

O que um gerador recebe: o tópico, a nota que serve de tônica (o tópico diz se ela é maior ou menor), o sorteio, se a resposta é pelo teclado e as qualidades dos acordes.

Constructors

TheoryDraw({required TheoryTopic topic, required Pitch tonic, required Random rng, required bool keyboard, required List<String> qualities})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
keyboard → bool
A resposta é pelo teclado, nos tópicos que a têm (o resto segue com botões, e interval-build é sempre teclado).
final
qualities → List<String>
final
rng → Random
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tonic → Pitch
final
topic → TheoryTopic
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