PositionListener class final
- Inheritance
-
- Object
- PlayerListener
- PositionListener
- Implemented types
Constructors
-
PositionListener.new({required Future<
double> getPosition()})
Properties
-
getPosition
→ Future<
double> Function() -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRunnin ↔ bool
-
getter/setter pair
-
positionStream
→ Stream<
double> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
streamControler
→ StreamController<
double> -
final
Methods
-
call(
) → Future< void> -
override
-
callback(
Duration? timeStamp) → void -
callback function to be called when the frame is ready
timeStamp
is the time of each frameoverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → void -
override
-
start(
) → void -
override
-
stop(
) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited