VideoProgress class

The data class which represents video progress, used in VideoProgressIndicator.

Constructors

VideoProgress({required int duration, required int position, int? buffered})
const

Properties

buffered int?
Video buffered position, should have the same unit with duration.
final
duration int
Video total duration.
final
hashCode int
The hash code for this object.
no setterinherited
position int
Current played position, should have the same unit with duration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? duration, int? position, int? buffered}) VideoProgress
Creates a copy of this value but with given fields replaced with the new values.
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