AudioMarkState class

O tocador: se o player está pronto, tocando, a posição e a duração, e o erro de abrir o áudio (se houve).

Inheritance

Constructors

AudioMarkState({bool ready = false, bool playing = false, Duration position = Duration.zero, Duration duration = Duration.zero, String? error})
const

Properties

duration → Duration
final
error → String?
O que impediu de abrir o áudio, ou null.
final
hashCode → int
The hash code for this object.
no setterinherited
playing → bool
final
position → Duration
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
ready → bool
O player abriu o áudio: o botão de tocar fica ligado.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({bool? ready, bool? playing, Duration? position, Duration? duration, String? error, bool clearError = false}) → AudioMarkState
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