SingleAudioPlay class

Garante que um só áudio toca por vez na lição (I05, item 5).

Cada AudioMarkView registra seu pause aqui ao dar play; quem começa pausa o anterior. Sem BuildContext: o LessonView cria um e repassa.

Constructors

SingleAudioPlay()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
started(VoidCallback pauseCurrent) → void
Registra pauseCurrent como o que toca agora, pausando o anterior.
stopped(VoidCallback pauseCurrent) → void
toString() → String
A string representation of this object.
inherited

Operators

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