VideoEditorControllerTextEffect extension

on

Properties

selectedTextOverlay → VideoTextOverlay?

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

The text overlay matching the current selection, if any.
no setter

Methods

addEffectOverlay(VideoEditorEffect effect) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

addTextOverlay({required String text, double fontSize = 64, Color color = VideoEditorColors.onMedia, TextOverlayStyle style = TextOverlayStyle.outline, Color? backgroundColor, bool bold = true, String? stickerPath, String idPrefix = 'text'}) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

Adds a text overlay at the playhead, visible for three seconds (or until the end of the project).
addTimedTextOverlays(List<VideoTextOverlay> overlays) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

Adds many timed overlays (captions, generated titles) in one go and records a single history entry.
clearTextOverlays() → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

previewEffectTiming(String id, Duration start, Duration end) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

Live timing change for an effect overlay; commit with saveState.
previewTextTiming(String id, Duration start, Duration end) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

Live timing change while a timeline handle is dragged; commit with saveState. Keeps at least 200ms visible.
removeEffectOverlay(String id) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

removeTextOverlay(String id) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

saveEffectPosition() → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

saveTextOverlayPosition() → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

saveTextOverlayPositionInProject() → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

selectEffectOverlay(String id) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

selectTextOverlay(String id) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

setEffect(VideoEditorEffect effect) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

Applies effect as the look of the selected clip.
splitEffectOverlay(String id, Duration projectTime) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

splitTextOverlay(String id, Duration projectTime) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

updateEffectPosition(String id, Duration newStart) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

updateTextOverlay({required String id, String? text, double? fontSize, Color? color, TextOverlayStyle? style, Color? backgroundColor, bool? bold}) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

updateTextOverlayPosition({required String id, required double x, required double y, double? rotation, double? scale}) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

Live update while the user drags/pinches; commit with saveTextOverlayPosition.
updateTextOverlayPositionInProject(String id, Duration newStart) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

updateTextOverlayTiming({required String id, required Duration startTime, required Duration endTime}) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension

updateTextPosition({required String id, required double x, required double y, double? rotation, double? scale}) → void

Available on VideoEditorController, provided by the VideoEditorControllerTextEffect extension