ChordAviso class
O que a tela mostra por cima da pergunta: o pedido de notas, o erro (em vermelho por 2,5 s), a cifra da pergunta anterior (de ouvido) e o aviso de que não há som.
Constructors
- ChordAviso({bool dica = false, String? mensagem, String? anterior, bool semSom = false})
-
const
Properties
- anterior → String?
-
A cifra da pergunta que o aluno acabou de acertar (só de ouvido).
final
- dica → bool
-
O aluno pediu as notas desta pergunta.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mensagem → String?
-
O erro da última tentativa, se ainda está na tela.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semSom → bool
-
Não há saída de som: o acorde de ouvido não toca.
final
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
copyWith(
{bool? dica, String? mensagem, bool semMensagem = false, String? anterior, bool? semSom}) → ChordAviso -
Muda o que vem;
semMensagemapaga a mensagem (onulldemensagemnão serve para isso). -
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