DepsDeExercicio class final

Constructors

DepsDeExercicio({required AppClock clock, required AparelhoDoApp aparelho, bool usoNoCurso = true})

Properties

clock → AppClock
O relógio do app (a prévia e o motor mudo leem o tempo dele).
final
deps → CourseScreenDeps
O que a escada (TrainingScreen), a prévia (TrainingPreviewScreen) e a tela do exercício pedem. Sem timeSink, o nulo: não conta nada.
no setter
hashCode → int
The hash code for this object.
no setterinherited
midi → MidiDeviceManager
O teclado do app (do AparelhoDoApp; não se fecha aqui).
final
midiInput ↔ MidiInputService
latefinal
progress → CourseProgressCubit
O progresso de curso fica só na memória: quem usa estas dependências (o professor e o aluno) não grava o progresso de curso no aparelho.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seeds → SeedSource
final
settings → SettingsCubit
As configurações do app (do AparelhoDoApp; não se fecham aqui).
final
sound ↔ CourseSoundEngines
latefinal
usoNoCurso → bool
Mostra o "Use este exercício" (o professor); o aluno passa false (issue 36).
final

Methods

comSink(ExerciseTimeSink sink) → CourseScreenDeps
As mesmas dependências, com sink para o tempo e as rodadas.
dispose() → void
Fecha os motores e as assinaturas abertas deste exercício. As configurações e o teclado são do app e ficam abertos.
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