FijkValue class Null safety

FijkValue include the properties of a FijkPlayer which update not frequently.

To get the updated value of other frequently updated properties, add listener of the value stream. See

Annotations

Constructors

FijkValue({required bool prepared, required bool completed, required bool audioRenderStart, required bool videoRenderStart, required FijkState state, required Size? size, required int rotate, required Duration duration, required bool fullScreen, required FijkException exception})
A constructor requires all value.
const
FijkValue.uninitialized()
Construct FijkValue with uninitialized value
const

Properties

audioRenderStart bool
Indicates if audio is started rendering
final
completed bool
Indicates if the player is completed
final
duration Duration
The current playback duration
final
exception FijkException
final
fullScreen bool
whether if player should be displayed in full screen mode
final
hashCode int
The hash code for this object.
read-only, override
prepared bool
Indicates if the player is ready
final
rotate int
The rotation degrees
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size Size?
The pixel size of current video
final
state FijkState
Current state of the player
final
videoRenderStart bool
Indicates if video is started rendering
final

Methods

copyWith({bool? prepared, bool? completed, bool? videoRenderStart, bool? audioRenderStart, FijkState? state, Size? size, int? rotate, Duration? duration, bool? fullScreen, FijkException? exception}) FijkValue
Return new FijkValue which combines the old value and the assigned new value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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