ClipController class

Constructors

ClipController()

Properties

clips → List<VideoEditorClip>
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedClip → VideoEditorClip?
no setter
selectedClipIndex → int
no setter

Methods

addClips(List<VideoEditorClip> newClips) → void
clear() → void
insertClip(int index, VideoEditorClip clip) → void
Inserts clip at index (clamped) and selects it.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeClip(int index) → void
reorderClips(int oldIndex, int newIndex) → void
replaceClip(VideoEditorClip clip) → void
Replaces the clip with the same id, keeping its position.
resetClipTransform(int index) → void
restore(List<VideoEditorClip> clips) → void
Replaces the timeline with copies of clips, so later in-place edits can never reach back into an undo snapshot.
selectClip(int index) → void
setEffect(VideoEditorEffect effect) → void
setEffectAt(int index, VideoEditorEffect effect) → void
Sets the look of clip index without changing the selection.
toString() → String
A string representation of this object.
inherited
updateClipAudioCleanup(int index, AudioCleanup cleanup) → void
updateClipBackgroundColor(int index, Color color) → void
updateClipCrop(int index, {double? scale, double? x, double? y}) → void
updateClipFillMode(int index, VideoFillMode mode) → void
updateClipSpeed(int index, double speed) → void
updateClipTransition(int index, ClipTransition transition) → void
updateClipTrim(int index, Duration start, Duration end) → void
Sets the clip's in/out points in file time. Image clips have no source length, so for them the range only sets the display duration.
updateClipVolume(int index, double volume) → void

Operators

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