ClipController class
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
-