ExerciseResultPanel class

Fim da rodada, na linguagem do U12: "11 de 12 de primeira · 91%", o reason do PassCheck, e Outra rodada / Voltar (aprovou: o painel diz e o botão principal vira Voltar).

Inheritance

Constructors

ExerciseResultPanel({Key? key, required RoundResult result, required PassVerdict verdict, required VoidCallback? onRetry, required VoidCallback onBack, required String retryLabel, required String backLabel, VoidCallback? onRepeat, void onMeasure(int index)?, int? errors, int? previousBest, String? keyLine, String? startLine, String? notice, bool side = false, List<MeterResult> meters = const [], PassCriteria pass = const PassCriteria(), VoidCallback? onListenBack, bool playingBack = false, VoidCallback? onListenWritten, Widget? playback})
const

Properties

backLabel → String
O texto do botão que sai do exercício (ExerciseSource.backLabel).
final
errors → int?
Teclas erradas na rodada (exercícios no teclado; null nas perguntas).
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyLine → String?
Os tons já tocados e o resultado de cada um (EX05); null sem tons.
final
meters → List<MeterResult>
Os medidores que o pass pede, na ordem da tabela (EX08); vazio sem eles.
final
notice → String?
Uma linha que diz o que o resultado é (AV01: "Aluno virtual: nada foi gravado"); null no resultado de um aluno de verdade.
final
onBack → VoidCallback
final
onListenBack → VoidCallback?
"Ouvir o que toquei" (EX08): toca de volta a gravação; null sem gravação.
final
onListenWritten → VoidCallback?
"Ouvir o escrito", como na revelação do listen-score.
final
onMeasure → void Function(int index)?
Leva a partitura ao compasso (a ocorrência) de um dos PassVerdict.measures; null sem partitura (as perguntas).
final
onRepeat → VoidCallback?
Refaz a mesma rodada ("Tocar de novo"); null quando a fonte não repete.
final
onRetry → VoidCallback?
final
pass → PassCriteria
O pass do exercício: a faixa do swing vira a meta do cartão.
final
playback → Widget?
A curva de velocity da gravação, enquanto ela toca (EX08).
final
playingBack → bool
A gravação está tocando agora: o botão vira "Parar".
final
previousBest → int?
O melhor % antes desta rodada (null: primeira vez).
final
result → RoundResult
final
retryLabel → String
O texto do botão que pede a próxima rodada (nextRoundLabel da origem).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
side → bool
Celular deitado: o painel fica na lateral, ao lado da partitura, e não embaixo dela.
final
startLine → String?
"Para a próxima: comece a ♩ N…" (EX22): o pior compasso e o andamento em que ele saiu limpo numa parte; null quando não há o que dizer.
final
verdict → PassVerdict
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited