ChordBodyState class

O estado da rodada: a sessão, o relógio (secondsLeft, que anda a cada 200 ms), as teclas apertadas e o aviso.

Inheritance

Constructors

ChordBodyState({ChordAndamento andamento = const ChordAndamento(), double? secondsLeft, Set<int> held = const {}, ChordAviso aviso = const ChordAviso()})
const

Properties

andamento → ChordAndamento
final
aviso → ChordAviso
final
hashCode → int
The hash code for this object.
no setterinherited
held → Set<int>
As teclas apertadas agora.
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
secondsLeft → double?
Segundos que faltam para o tempo da pergunta; null sem limite, em revelação ou no fim.
final
semRelogio → ChordBodyState
O estado sem o relógio: a tela de baixo só se refaz quando isto muda (o relógio tem a sua própria barra, e anda a cada 200 ms).
no setter
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

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