EchoPanelState class

O que o painel mostra num instante da rodada.

Inheritance

Constructors

EchoPanelState({bool started = false, EchoPhase phase = EchoPhase.idle, int chunk = 0, int beat = -1, int beats = 0, bool again = false, List<EchoChunkStatus> chunkResults = const []})
const

Properties

again → bool
Um erro fez o trecho voltar ao ouça: a escada de repetição está rodando.
final
beat → int
O tempo aceso no compasso atual (de 0), ou -1 se nenhum.
final
beats → int
Quantos tempos o compasso atual tem.
final
chunk → int
O índice do trecho atual (de 0).
final
chunkCount → int
Quantos trechos a rodada tem.
no setter
chunkResults → List<EchoChunkStatus>
Como cada trecho está, na ordem da frase.
final
hashCode → int
The hash code for this object.
no setterinherited
phase → EchoPhase
De quem é a vez.
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
started → bool
A música já começou (tocou, andou ou está repetindo). Antes disso o painel fica em EchoPhase.idle.
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({bool? started, EchoPhase? phase, int? chunk, int? beat, int? beats, bool? again, List<EchoChunkStatus>? chunkResults}) → EchoPanelState
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