MyApp class

Inheritance

Constructors

MyApp({Key? key, required AppBusy busy, required AppClock clock, required SeedSource seeds, bool splash = false, Future<List<LoadedCourse>> loadCourses()? = loadBuiltInCourses, String? initialDraftPath, IncomingPackages? incoming, AuthStore? authStore, bool requireNickname = false, void onRoundReady(ScoreRoundRunner runner)?, Future<SoundEngine?> abrirSintetizador()?, SettingsCubit? settings})
const

Properties

abrirSintetizador → Future<SoundEngine?> Function()?
O motor de som do app (CT06): o roteiro de capturas põe o motor mudo no relógio dele, sem o sintetizador do aparelho. null no app (o sintetizador).
final
authStore → AuthStore?
A sessão conectada (D02): sem ela, o app abre direto (é o caso dos testes); com ela, o AuthGate segura o app até haver conta.
final
busy → AppBusy
O trabalho do app que está em curso (CT02): o roteiro de capturas espera por ele antes de fotografar. O main passa um real; o roteiro, o seu.
final
clock → AppClock
O relógio do app (CT05b): a raiz o passa às telas que criam motores e cubits de tempo. O main passa o do aparelho; os testes passam o que pedem.
final
hashCode → int
The hash code for this object.
no setterinherited
incoming → IncomingPackages?
Os .zywny que o sistema entrega ao app (B11); os testes ficam sem.
final
initialDraftPath → String?
I12: abre direto no rascunho da pasta (just curso <pasta>).
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadCourses → Future<List<LoadedCourse>> Function()?
De onde vêm os cursos embutidos; os testes trocam por uma lista própria.
final
onRoundReady → void Function(ScoreRoundRunner runner)?
O executor de cada rodada de partitura que começa (CT07): o roteiro de capturas põe o aluno virtual para tocá-la. null no app.
final
requireNickname → bool
Perguntar o apelido no primeiro acesso (D-NEG-PRIVACIDADE).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seeds → SeedSource
As sementes das rodadas (CT09): o app sorteia; o roteiro de capturas dá uma fixa, para as fotos saírem iguais.
final
settings → SettingsCubit?
As configurações do app inteiro (o main cria uma só). O tamanho da interface (a "Tela") entra no tema e no texto do Material, acima de tudo; a tela inicial a recebe no appSettings e carrega. null (os testes, o roteiro de capturas): tamanho 1.0, como hoje.
final
splash → bool
Splash de abertura (zywny_comum, app/splash_screen.dart); os testes ficam sem ela.
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