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
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. SeeVideoEditor.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').nulluses 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.
nullmeans no limit.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textFonts
→ List<
TextFontSpec> ? -
Text font presets.
nulluses 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