PositionUpdater class abstract

Implementers

Constructors

PositionUpdater({required Future<Duration?> getPosition()})
You can use player.getCurrentPosition as the getPosition parameter.

Properties

getPosition Future<Duration?> Function()
final
hashCode int
The hash code for this object.
no setterinherited
positionStream Stream<Duration>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → void
stop() → void
stopAndUpdate() Future<void>
toString() String
A string representation of this object.
inherited
update() Future<void>

Operators

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