VideoPlayerValue class

Constructors

VideoPlayerValue({required Duration duration, Size size = Size.zero, Duration position = Duration.zero, Caption caption = Caption.none, List<DurationRange> buffered = const <DurationRange>[], bool isInitialized = false, bool isPlaying = false, bool isLooping = false, bool isBuffering = false, double volume = 1.0, double playbackSpeed = 1.0, String? errorDescription})
VideoPlayerValue.erroneous(String errorDescription)
VideoPlayerValue.uninitialized()

Properties

aspectRatio double
no setter
buffered List<DurationRange>
final
caption Caption
final
duration Duration
final
errorDescription String?
final
hasError bool
no setter
hashCode int
The hash code for this object.
no setterinherited
isBuffering bool
final
isInitialized bool
final
isLooping bool
final
isPlaying bool
final
playbackSpeed double
final
position Duration
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
final
volume double
final

Methods

copyWith({Duration? duration, Size? size, Duration? position, Caption? caption, List<DurationRange>? buffered, bool? isInitialized, bool? isPlaying, bool? isLooping, bool? isBuffering, double? volume, double? playbackSpeed, String? errorDescription}) VideoPlayerValue
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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