VideoProps class abstract final

A network video (video_player's VideoPlayer).

Properties

hashCode → int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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

Constants

autoPlay → const PropDef<bool>
fit → const PropDef<BoxFit>
How the picture fills the node (FittedBox): contain letterboxes, cover fills and crops.
loop → const PropDef<bool>
playing → const PropDef<bool?>
Null leaves playback to the built-in controls. Bind or set explicitly to play/pause from application actions; browser gesture rules still apply.
positionSeconds → const PropDef<double?>
Absolute source-media time in seconds; null leaves the current time alone.
poster → const PropDef<String>
An image URL shown until the video has its first frame (and while a new source loads), instead of a spinner.
reportIntervalMs → const PropDef<int>
While playing, fires the changed trigger every this many milliseconds with positionSeconds and playing (0: off): the video as a clock.
showControls → const PropDef<bool>
spec → const WidgetSpec
syncTolerance → const PropDef<double>
While playing, a changed positionSeconds seeks only when the video is more than this many seconds away from it, so a position bound to a running clock corrects drift instead of stalling the video with a seek every frame. Paused, every change seeks (the latest one wins).
url → const PropDef<String>
A remote HTTPS MP4, WebM, MOV or M4V URL.
volume → const PropDef<double>