ExerciseRoundBody class
O corpo da rodada: a partitura (ou o carregamento e o erro), a contagem inicial, as páginas, o contador de erros e o painel do resultado.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- ExerciseRoundBody
Constructors
-
ExerciseRoundBody({Key? key, required bool loading, required String? error, required ScoreRoundRunner? runner, required ScorePlayer? player, required ScoreViewCubit? viewController, required void onPaper(double widthPx, double heightPx), required Widget? resultPanel, String label = '', ScoreAudioScheduler? scheduler, bool phone = false, bool sidePanel = false, double haloWidth = 1.0, Color barColor = kDefaultBarColor, bool animatedTurns = false, bool timedTurns = false, double speed = 1.0, Future<
String> onReportMiss(RepeatStatus state)?, bool showErrors = true}) -
const
Properties
- animatedTurns → bool
-
Tocando ou treinando: a página vira com a haste, sem os botões de canto.
final
- barColor → Color
-
final
- error → String?
-
final
- haloWidth → double
-
Brilho em volta da nota (
SettingsState.haloWidth);0desliga.final - hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → String
-
Id do exercício, para o log de tamanho (
ScoreSizeLog).final - loading → bool
-
final
- onPaper → void Function(double widthPx, double heightPx)
-
Largura e altura da caixa em medida de papel (
lessonScorePaperPxelessonScorePaperHeightPx).final -
onReportMiss
→ Future<
String> Function(RepeatStatus state)? -
O botão "Enviar este erro à equipe" do aviso "Errou" (BR02): devolve o
código do relatório.
nullesconde o botão.final - phone → bool
-
final
- player → ScorePlayer?
-
final
- resultPanel → Widget?
-
final
- runner → ScoreRoundRunner?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduler → ScoreAudioScheduler?
-
final
- showErrors → bool
-
O contador de erros ao vivo ("2 erros", no canto). A tela que só toca
(
listenOnly: o "Ouvir", a prévia) não avalia nada, então não o mostra (UX16, N6).final - sidePanel → bool
-
Celular deitado: o resultPanel entra pela direita, sobre a partitura,
que mantém o tamanho (encolher a pauta a redesenhava menor; embaixo, o
painel cobriria a pauta quase toda).
final
- speed → double
-
final
- timedTurns → bool
-
Treino com tempo (virada curta, sem desfoque) e o andamento dele.
final
- viewController → ScoreViewCubit?
-
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