VideoListener class
Constructors
- VideoListener(VideoPlayerController controller, {OnPositionChanged? onPositionChanged, OnVideoStarted? onVideoStarted})
Properties
- controller ↔ VideoPlayerController
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPlaying → bool
-
no setter
- isTesting → bool
-
no setter
- onPositionChanged → OnPositionChanged?
-
final
- onVideoStarted → OnVideoStarted?
-
final
-
remainingDuration
→ Future<
Duration?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
totalDuration
→ Future<
Duration?> -
no setter
Methods
-
dispose(
) → dynamic -
listenProgress(
) → Stream< VideoProgression> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> -
start(
{required double volume, required bool loop}) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited