YoutubePlayerValue class

Youtube Player value

Constructors

YoutubePlayerValue({FullScreenOption fullScreenOption = const FullScreenOption(enabled: false), PlayerState playerState = PlayerState.unknown, double playbackRate = PlaybackRate.normal, String? playbackQuality, YoutubeError error = YoutubeError.none, YoutubeMetaData metaData = const YoutubeMetaData()})
The duration, current position, buffering state, error state and settings of a YoutubePlayerController.

Properties

error YoutubeError
Reports the error code as described here.
final
fullScreenOption FullScreenOption
The initial fullscreen option.
final
hasError bool
Returns true is player has errors.
no setter
hashCode int
The hash code for this object.
no setterinherited
metaData YoutubeMetaData
Returns meta data of the currently loaded/cued video.
final
playbackQuality String?
Reports the current playback quality.
final
playbackRate double
The current video playback rate defined as PlaybackRate.
final
playerState PlayerState
The current state of the player defined as PlayerState.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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