HaloVideoPlayerValue class

Video player value with playback state information

Constructors

HaloVideoPlayerValue({bool isInitialized = false, bool isPlaying = false, bool isBuffering = false, Duration position = Duration.zero, Duration duration = Duration.zero, double aspectRatio = 1.0, double volume = 1.0, double playbackSpeed = 1.0, String? errorDescription})
const

Properties

aspectRatio double
final
duration Duration
final
errorDescription String?
final
hashCode int
The hash code for this object.
no setterinherited
isBuffering bool
final
isInitialized bool
final
isPlaying bool
final
playbackSpeed double
final
position Duration
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
volume double
final

Methods

copyWith({bool? isInitialized, bool? isPlaying, bool? isBuffering, Duration? position, Duration? duration, double? aspectRatio, double? volume, double? playbackSpeed, String? errorDescription}) HaloVideoPlayerValue
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