VideoSession class abstract

Plays the source video in the editor.

Constructors

VideoSession()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → ValueListenable<VideoPlaybackState>
Player state.
no setter

Methods

buildView() → Widget
The video frame, sized to the video's aspect ratio.
dispose() → Future<void>
Releases the player.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String path) → Future<void>
Opens a local file. Throws StoryException(mediaUnsupported).
pause() → Future<void>
Pauses playback.
play() → Future<void>
Starts playback.
seekTo(Duration position) → Future<void>
Seeks to position.
setPlaybackRange(TrimRange? range) → Future<void>
Loops playback within range (whole video when null).
setVolume(double volume) → Future<void>
Sets the audio volume, 0–1.
toString() → String
A string representation of this object.
inherited

Operators

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