VideoEditorConfig class

Editor configuration.

Strings are resources of the native SDKs. To change one, define the same key in the application's strings.xml or Localizable.strings.

Constructors

VideoEditorConfig({required String licenseKey, String? giphyApiKey, List<TextFontSpec>? textFonts, int? minDurationSeconds, int? maxDurationSeconds, bool allowAddClip = true, String? locale, bool draftsEnabled = false, bool coverPickerEnabled = false, bool detachedRenderEnabled = false})
const

Properties

allowAddClip → bool
Whether clips can be added while editing. When false, the add button is hidden and the last clip cannot be deleted.
final
coverPickerEnabled → bool
Shows a cover-selection screen between "Next" and the render. The chosen frame, or a gallery photo center-cropped to the output aspect ratio, becomes VideoEditorResult.coverPath. When false, the cover is the first frame.
final
detachedRenderEnabled → bool
Closes the editor when the render starts and continues it as a VideoEditorRenderJob. The job delivers the progress, result and failure; the host draws the progress UI. See VideoEditor.present.
final
draftsEnabled → bool
Saves the editing state on the device when the user leaves the editor. A render does not delete the draft; see VideoEditorResult.draftId and VideoEditor.drafts.
final
giphyApiKey → String?
GIPHY API key. Without it, the sticker tool is disabled.
final
hashCode → int
The hash code for this object.
no setterinherited
licenseKey → String
License key. Required.
final
locale → String?
Language of the editor's strings as a BCP 47 tag ('ko', 'en-US'). null uses the application language. Unsupported languages fall back to English.
final
maxDurationSeconds → int?
final
minDurationSeconds → int?
Exportable duration range in seconds. Checked when "Next" is tapped; editing is not restricted. null means no limit.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textFonts → List<TextFontSpec>?
Text font presets. null uses the bundled fonts. See TextFontSpec.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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