VideoPlaybackState class
Snapshot of a video player.
- Annotations
Constructors
Properties
- duration → Duration
-
Source length.
final
- error → Object?
-
Playback error, if any (a
StoryException).final - hashCode → int
-
The hash code for this object.
no setterinherited
- initialized → bool
-
Whether the video is ready.
final
- playing → bool
-
Whether it is playing.
final
- position → Duration
-
Current position in the source.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
Display size of the video.
final
Methods
-
copyWith(
{bool? initialized, bool? playing, Duration? position, Duration? duration, Size? size, Object? error}) → VideoPlaybackState - Returns a copy with the given values replaced.
-
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