ChordMarks class

O acorde do play-chord: a mensagem da última tentativa e as teclas que piscam (certas, erradas ou a resposta depois de duas tentativas).

Inheritance

Constructors

ChordMarks({String? chordNote, Set<int> wrongKeys = const {}, Set<int> flashKeys = const {}, Set<int> revealKeys = const {}})
const

Properties

chordNote → String?
A mensagem da última tentativa, por 3 s.
final
flashKeys → Set<int>
As teclas do acorde certo, por 300 ms.
final
hashCode → int
The hash code for this object.
no setterinherited
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
revealKeys → Set<int>
A resposta, depois de duas tentativas erradas, por 2 s.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
wrongKeys → Set<int>
As teclas apertadas que não fazem parte do acorde.
final

Methods

copyWith({ValueGetter<String?>? chordNote, Set<int>? wrongKeys, Set<int>? flashKeys, Set<int>? revealKeys}) → ChordMarks
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