ExerciseScreen class

Inheritance

Constructors

ExerciseScreen.course({Key? key, required LoadedCourse loaded, required ExerciseSpec spec, required CourseScreenDeps deps, ExerciseRoundHook? onRound, VirtualMidiInput? virtualStudent})
Um exercício da lição do curso (CourseExerciseSource).
factory
ExerciseScreen.source({Key? key, required ExerciseSource source, required CourseScreenDeps deps, ExerciseRoundHook? onRound, bool isFinished()?, VirtualMidiInput? virtualStudent})
const

Properties

deps → CourseScreenDeps
O que a tela usa do app, inclusive as sementes das rodadas (deps.seeds, CT09).
final
hashCode → int
The hash code for this object.
no setterinherited
isFinished → bool Function()?
Se a fonte já não tem mais rodadas (o nivelamento acabou): o botão do painel do resultado, que pediria a próxima, sai da tela. null no que não acaba.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onRound → ExerciseRoundHook?
Costura de teste (ver ExerciseRoundHook).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → ExerciseSource
De onde vêm as rodadas, o título e a passagem (ver ExerciseSource).
final
virtualStudent → VirtualMidiInput?
O aluno virtual (AV01): quando dado, a rodada de partitura é tocada por ele no lugar do teclado, e nada do que ele faz é gravado. O deps.midiInput continua sendo o do aparelho. Não é dono do objeto: quem o cria o descarta.
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<ExerciseScreen>
Creates the mutable state for this widget at a given location in the tree.
override
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