VideoEditorControllerHistory extension

on

Properties

projectState → ProjectState

Available on VideoEditorController, provided by the VideoEditorControllerHistory extension

Snapshot of the editable project (deep copy).
no setter

Methods

loadProjectState(ProjectState state, {String? id, String? title}) → void

Available on VideoEditorController, provided by the VideoEditorControllerHistory extension

Replaces the whole project, e.g. when reopening a saved draft. The loaded state becomes the first undo entry.
redo() → void

Available on VideoEditorController, provided by the VideoEditorControllerHistory extension

saveState() → void

Available on VideoEditorController, provided by the VideoEditorControllerHistory extension

setAspectRatio(VideoAspectRatio ratio) → void

Available on VideoEditorController, provided by the VideoEditorControllerHistory extension

startProjectWithRatio(VideoAspectRatio ratio, {required Future<void> pickMedia()}) → Future<void>

Available on VideoEditorController, provided by the VideoEditorControllerHistory extension

undo() → void

Available on VideoEditorController, provided by the VideoEditorControllerHistory extension